🎉 Improved transformations

This commit is contained in:
alonso.torres 2020-04-22 13:35:53 +02:00
parent d050103f58
commit b73958efd0
21 changed files with 1257 additions and 1017 deletions

View file

@ -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))