@antv/g 5.7.5 → 5.7.6

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/index.esm.js CHANGED
@@ -18936,7 +18936,7 @@ var TextUpdater = /*#__PURE__*/function () {
18936
18936
  fontWeight = parsedStyle.fontWeight,
18937
18937
  fontVariant = parsedStyle.fontVariant,
18938
18938
  lineWidth = parsedStyle.lineWidth;
18939
- return text && fontSize && fontStyle && fontWeight && fontVariant && textAlign && textBaseline && lineWidth;
18939
+ return text && fontSize && fontStyle && fontWeight && fontVariant && textAlign && textBaseline && !isNil(lineWidth);
18940
18940
  };
18941
18941
 
18942
18942
  _proto.update = function update(parsedStyle, object) {
package/dist/index.js CHANGED
@@ -18895,7 +18895,7 @@ exports.TextUpdater = /*#__PURE__*/function () {
18895
18895
  fontWeight = parsedStyle.fontWeight,
18896
18896
  fontVariant = parsedStyle.fontVariant,
18897
18897
  lineWidth = parsedStyle.lineWidth;
18898
- return text && fontSize && fontStyle && fontWeight && fontVariant && textAlign && textBaseline && lineWidth;
18898
+ return text && fontSize && fontStyle && fontWeight && fontVariant && textAlign && textBaseline && !isNil(lineWidth);
18899
18899
  };
18900
18900
 
18901
18901
  _proto.update = function update(parsedStyle, object) {
package/dist/index.umd.js CHANGED
@@ -29904,7 +29904,7 @@
29904
29904
  fontWeight = parsedStyle.fontWeight,
29905
29905
  fontVariant = parsedStyle.fontVariant,
29906
29906
  lineWidth = parsedStyle.lineWidth;
29907
- return text && fontSize && fontStyle && fontWeight && fontVariant && textAlign && textBaseline && lineWidth;
29907
+ return text && fontSize && fontStyle && fontWeight && fontVariant && textAlign && textBaseline && !isNil(lineWidth);
29908
29908
  };
29909
29909
 
29910
29910
  _proto.update = function update(parsedStyle, object) {