@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.mjs
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
|
import * as EFFECTS from '@galacean/effects';
|
|
@@ -1403,8 +1403,6 @@ var RichTextComponent = /*#__PURE__*/ function(MaskableGraphic) {
|
|
|
1403
1403
|
context.fillText(text, strOffsetX, charsLineHeight);
|
|
1404
1404
|
});
|
|
1405
1405
|
});
|
|
1406
|
-
}, {
|
|
1407
|
-
disposeOld: false
|
|
1408
1406
|
});
|
|
1409
1407
|
// 与 toDataURL() 两种方式都需要像素读取操作
|
|
1410
1408
|
this.isDirty = false;
|
|
@@ -1485,8 +1483,6 @@ var RichTextComponent = /*#__PURE__*/ function(MaskableGraphic) {
|
|
|
1485
1483
|
context.scale(fontScale, fontScale);
|
|
1486
1484
|
// ── 步骤 6: 绘制 ──
|
|
1487
1485
|
_this.drawTextWithStrategies(context, wrapResult.lines, horizontalAlignResult, verticalAlignResult, overflowResult, _this.textStyle);
|
|
1488
|
-
}, {
|
|
1489
|
-
disposeOld: false
|
|
1490
1486
|
});
|
|
1491
1487
|
this.isDirty = false;
|
|
1492
1488
|
};
|
|
@@ -1583,7 +1579,7 @@ applyMixins(RichTextComponent, [
|
|
|
1583
1579
|
|
|
1584
1580
|
/**
|
|
1585
1581
|
* 插件版本号
|
|
1586
|
-
*/ var version = "2.
|
|
1582
|
+
*/ var version = "2.10.0-alpha.1";
|
|
1587
1583
|
registerPlugin("rich-text", RichTextLoader);
|
|
1588
1584
|
logger.info("Plugin rich text version: " + version + ".");
|
|
1589
1585
|
if (version !== EFFECTS.version) {
|