mirror of
https://github.com/penpot/penpot.git
synced 2025-08-07 14:38:33 +02:00
🎉 Improved transformations
This commit is contained in:
parent
d050103f58
commit
b73958efd0
21 changed files with 1257 additions and 1017 deletions
|
@ -94,7 +94,7 @@
|
|||
[state {:keys [id] :as item}]
|
||||
(let [item (-> item
|
||||
(geom/shape->rect-shape)
|
||||
(geom/resolve-rotation)
|
||||
(geom/transform-apply-modifiers)
|
||||
(geom/shape->rect-shape))
|
||||
width (+ (:x item 0) (:width item 0))
|
||||
height (+ (:y item 0) (:height item 0))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue