zrender-nightly 5.4.4-dev.20231116 → 5.4.4-dev.20231118

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/zrender.js CHANGED
@@ -7287,7 +7287,7 @@
7287
7287
  function registerSSRDataGetter(getter) {
7288
7288
  ssrDataGetter = getter;
7289
7289
  }
7290
- var version = '5.4.4-dev.20231116';
7290
+ var version = '5.4.4-dev.20231118';
7291
7291
 
7292
7292
  var STYLE_MAGIC_KEY = '__zr_style_' + Math.round((Math.random() * 10));
7293
7293
  var DEFAULT_COMMON_STYLE = {
@@ -14979,7 +14979,7 @@
14979
14979
  }
14980
14980
  for (var i = this.__prevStartIndex; i < this.__prevEndIndex; ++i) {
14981
14981
  var el = prevList[i];
14982
- var shouldPaint = el.shouldBePainted(viewWidth, viewHeight, true, true);
14982
+ var shouldPaint = el && el.shouldBePainted(viewWidth, viewHeight, true, true);
14983
14983
  if (el && (!shouldPaint || !el.__zr) && el.__isRendered) {
14984
14984
  var prevRect = el.getPrevPaintRect();
14985
14985
  if (prevRect) {
@@ -17312,8 +17312,7 @@
17312
17312
  width: width,
17313
17313
  height: height,
17314
17314
  x: '0',
17315
- y: '0',
17316
- id: '0'
17315
+ y: '0'
17317
17316
  });
17318
17317
  if (isGradient(backgroundColor)) {
17319
17318
  setGradient({ fill: backgroundColor }, bgVNode.attrs, 'fill', scope);