modern-canvas 0.4.56 → 0.5.0
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.cjs +1 -1
- package/dist/index.js +59 -59
- package/dist/index.mjs +2 -2
- package/package.json +10 -10
package/dist/index.cjs
CHANGED
|
@@ -9225,7 +9225,7 @@ class BaseElement2DShape extends CoreObject {
|
|
|
9225
9225
|
_updatePath2DSet() {
|
|
9226
9226
|
let viewBox;
|
|
9227
9227
|
if (this.svg) {
|
|
9228
|
-
const dom = modernPath2d.
|
|
9228
|
+
const dom = modernPath2d.svgToDom(this.svg);
|
|
9229
9229
|
this._path2DSet = modernPath2d.svgToPath2DSet(dom);
|
|
9230
9230
|
viewBox = this._path2DSet.viewBox;
|
|
9231
9231
|
} else {
|