@antv/g-webgpu 1.7.48 → 1.7.49

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.umd.js CHANGED
@@ -14447,7 +14447,7 @@
14447
14447
  $el.style.width = width.toString();
14448
14448
  } else {
14449
14449
  var _width = object.parsedStyle.width;
14450
- $el.style.width = _width + "px";
14450
+ $el.style.width = isNumber(_width) ? _width + "px" : _width.toString();
14451
14451
  }
14452
14452
  break;
14453
14453
  case 'height':
@@ -14456,7 +14456,7 @@
14456
14456
  $el.style.height = height.toString();
14457
14457
  } else {
14458
14458
  var _height = object.parsedStyle.height;
14459
- $el.style.height = _height + "px";
14459
+ $el.style.height = isNumber(_height) ? _height + "px" : _height.toString();
14460
14460
  }
14461
14461
  break;
14462
14462
  case 'zIndex':