0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-10 06:41:40 -05:00

🐛 Fix problem with scaling constraints

This commit is contained in:
alonso.torres 2024-03-22 12:08:34 +01:00
parent 2735229ffe
commit 9c2cbb2a48

View file

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