zrender-nightly 5.6.1-dev.20241120 → 5.6.1-dev.20241121
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/zrender.js +2 -2
- package/dist/zrender.js.map +1 -1
- package/dist/zrender.min.js +1 -1
- package/lib/graphic/Text.js +1 -1
- package/lib/zrender.d.ts +1 -1
- package/lib/zrender.js +1 -1
- package/package.json +1 -1
- package/src/graphic/Text.ts +1 -1
- package/src/zrender.ts +1 -1
package/dist/zrender.js
CHANGED
@@ -7337,7 +7337,7 @@
|
|
7337
7337
|
function registerSSRDataGetter(getter) {
|
7338
7338
|
ssrDataGetter = getter;
|
7339
7339
|
}
|
7340
|
-
var version = '5.6.1-dev.
|
7340
|
+
var version = '5.6.1-dev.20241121';
|
7341
7341
|
|
7342
7342
|
var STYLE_MAGIC_KEY = '__zr_style_' + Math.round((Math.random() * 10));
|
7343
7343
|
var DEFAULT_COMMON_STYLE = {
|
@@ -13269,7 +13269,7 @@
|
|
13269
13269
|
setSeparateFont(subElStyle, style);
|
13270
13270
|
textY += lineHeight;
|
13271
13271
|
if (fixedBoundingRect) {
|
13272
|
-
el.setBoundingRect(new BoundingRect(adjustTextX(subElStyle.x,
|
13272
|
+
el.setBoundingRect(new BoundingRect(adjustTextX(subElStyle.x, contentWidth, subElStyle.textAlign), adjustTextY$1(subElStyle.y, calculatedLineHeight, subElStyle.textBaseline), contentWidth, calculatedLineHeight));
|
13273
13273
|
}
|
13274
13274
|
}
|
13275
13275
|
};
|