zrender-nightly 5.6.1-dev.20241013 → 5.6.1-dev.20241015
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/zrender.js +3 -3
- package/dist/zrender.js.map +1 -1
- package/dist/zrender.min.js +1 -1
- package/lib/core/PathProxy.js +1 -1
- package/lib/tool/path.js +1 -1
- package/lib/zrender.d.ts +1 -1
- package/lib/zrender.js +1 -1
- package/package.json +1 -1
- package/src/core/PathProxy.ts +1 -1
- package/src/tool/path.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.20241015';
|
7341
7341
|
|
7342
7342
|
var STYLE_MAGIC_KEY = '__zr_style_' + Math.round((Math.random() * 10));
|
7343
7343
|
var DEFAULT_COMMON_STYLE = {
|
@@ -8008,7 +8008,7 @@
|
|
8008
8008
|
for (var i = 0; i < len; i++) {
|
8009
8009
|
appendSize += path[i].len();
|
8010
8010
|
}
|
8011
|
-
if (hasTypedArray && (this.data instanceof Float32Array)) {
|
8011
|
+
if (hasTypedArray && (this.data instanceof Float32Array || !this.data)) {
|
8012
8012
|
this.data = new Float32Array(offset + appendSize);
|
8013
8013
|
}
|
8014
8014
|
for (var i = 0; i < len; i++) {
|
@@ -9643,7 +9643,7 @@
|
|
9643
9643
|
var innerOpts = extend({}, opts);
|
9644
9644
|
innerOpts.buildPath = function (path) {
|
9645
9645
|
if (isPathProxy(path)) {
|
9646
|
-
path.
|
9646
|
+
path.appendPath(pathProxy);
|
9647
9647
|
var ctx = path.getContext();
|
9648
9648
|
if (ctx) {
|
9649
9649
|
path.rebuildPath(ctx, 1);
|