@galacean/effects-plugin-rich-text 2.9.3 → 2.10.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/alipay.js +1 -1
- package/dist/alipay.js.map +1 -1
- package/dist/alipay.mjs +1 -1
- package/dist/alipay.mjs.map +1 -1
- package/dist/douyin.js +1 -1
- package/dist/douyin.js.map +1 -1
- package/dist/douyin.mjs +1 -1
- package/dist/douyin.mjs.map +1 -1
- package/dist/index.js +2 -6
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +2 -2
- package/dist/index.min.js.map +1 -1
- package/dist/index.mjs +2 -6
- package/dist/index.mjs.map +1 -1
- package/dist/weapp.js +1 -1
- package/dist/weapp.js.map +1 -1
- package/dist/weapp.mjs +1 -1
- package/dist/weapp.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Description: Galacean Effects player rich text plugin
|
|
4
4
|
* Author: Ant Group CO., Ltd.
|
|
5
5
|
* Contributors: 云垣
|
|
6
|
-
* Version: v2.
|
|
6
|
+
* Version: v2.10.0-alpha.1
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
'use strict';
|
|
@@ -1426,8 +1426,6 @@ exports.RichTextComponent = /*#__PURE__*/ function(MaskableGraphic) {
|
|
|
1426
1426
|
context.fillText(text, strOffsetX, charsLineHeight);
|
|
1427
1427
|
});
|
|
1428
1428
|
});
|
|
1429
|
-
}, {
|
|
1430
|
-
disposeOld: false
|
|
1431
1429
|
});
|
|
1432
1430
|
// 与 toDataURL() 两种方式都需要像素读取操作
|
|
1433
1431
|
this.isDirty = false;
|
|
@@ -1508,8 +1506,6 @@ exports.RichTextComponent = /*#__PURE__*/ function(MaskableGraphic) {
|
|
|
1508
1506
|
context.scale(fontScale, fontScale);
|
|
1509
1507
|
// ── 步骤 6: 绘制 ──
|
|
1510
1508
|
_this.drawTextWithStrategies(context, wrapResult.lines, horizontalAlignResult, verticalAlignResult, overflowResult, _this.textStyle);
|
|
1511
|
-
}, {
|
|
1512
|
-
disposeOld: false
|
|
1513
1509
|
});
|
|
1514
1510
|
this.isDirty = false;
|
|
1515
1511
|
};
|
|
@@ -1606,7 +1602,7 @@ EFFECTS.applyMixins(exports.RichTextComponent, [
|
|
|
1606
1602
|
|
|
1607
1603
|
/**
|
|
1608
1604
|
* 插件版本号
|
|
1609
|
-
*/ var version = "2.
|
|
1605
|
+
*/ var version = "2.10.0-alpha.1";
|
|
1610
1606
|
EFFECTS.registerPlugin("rich-text", RichTextLoader);
|
|
1611
1607
|
EFFECTS.logger.info("Plugin rich text version: " + version + ".");
|
|
1612
1608
|
if (version !== EFFECTS__namespace.version) {
|