mirror of
https://github.com/penpot/penpot.git
synced 2025-07-24 07:37:24 +02:00
🐛 Fix constraints detection on rotated structures
This commit is contained in:
parent
71759386c5
commit
d89a4a1218
2 changed files with 45 additions and 17 deletions
|
@ -471,14 +471,8 @@
|
|||
|
||||
modifiers (assoc modifiers :ignore-geometry? ignore-geometry?)
|
||||
|
||||
resized-shape (when (seq children) ; <- don't calculate it if not needed
|
||||
(gsh/transform-shape
|
||||
(assoc shape :modifiers (select-keys modifiers
|
||||
[:resize-origin
|
||||
:resize-vector]))))
|
||||
set-child (fn [modif-tree child]
|
||||
(let [child-modifiers (gsh/calc-child-modifiers shape
|
||||
resized-shape
|
||||
child
|
||||
modifiers)]
|
||||
(set-modifiers-recursive modif-tree
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue