🐛 Fix incorrect path content handling on converting from shape

This commit is contained in:
Andrey Antukh 2025-04-23 15:08:04 +02:00
parent 7d327d23a2
commit 1981946480

View File

@ -15,6 +15,7 @@
[app.common.geom.shapes.corners :as gso]
[app.common.types.path.bool :as bool]
[app.common.types.path.helpers :as helpers]
[app.common.types.path.impl :as path.impl]
[app.common.types.path.segment :as segm]
[app.common.types.shape.radius :as ctsr]))
@ -213,6 +214,9 @@
(circle->path shape)
(rect->path shape))
content
(path.impl/from-plain content)
;; Apply the transforms that had the shape
transform
(cond-> (:transform shape (gmt/matrix))