schematic-symbols 0.0.190 → 0.0.191
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.js +8 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -23911,11 +23911,18 @@ function resizeSymbol(symbol14, newSize) {
|
|
23911
23911
|
}))
|
23912
23912
|
};
|
23913
23913
|
case "text":
|
23914
|
+
return {
|
23915
|
+
...primitive,
|
23916
|
+
x: primitive.x * scaleX,
|
23917
|
+
y: primitive.y * scaleY,
|
23918
|
+
fontSize: primitive.fontSize ? primitive.fontSize * scaleX : void 0
|
23919
|
+
};
|
23914
23920
|
case "circle":
|
23915
23921
|
return {
|
23916
23922
|
...primitive,
|
23917
23923
|
x: primitive.x * scaleX,
|
23918
|
-
y: primitive.y * scaleY
|
23924
|
+
y: primitive.y * scaleY,
|
23925
|
+
radius: primitive.radius * scaleX
|
23919
23926
|
};
|
23920
23927
|
case "box":
|
23921
23928
|
return {
|