mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 19:28:12 +00:00
🐛 Fix problem with scaling constraints
This commit is contained in:
parent
2735229ffe
commit
9c2cbb2a48
@ -326,7 +326,9 @@
|
||||
reset-modifiers?
|
||||
(and (gpo/axis-aligned? parent-bounds)
|
||||
(gpo/axis-aligned? child-bounds)
|
||||
(gpo/axis-aligned? transformed-parent-bounds))
|
||||
(gpo/axis-aligned? transformed-parent-bounds)
|
||||
(not= :scale constraints-h)
|
||||
(not= :scale constraints-v))
|
||||
|
||||
modifiers
|
||||
(if reset-modifiers?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user