mirror of
https://github.com/penpot/penpot.git
synced 2026-05-11 11:03:52 +00:00
🐛 Fix incorrect path content handling on converting from shape
This commit is contained in:
parent
7d327d23a2
commit
1981946480
@ -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))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user