mirror of
https://github.com/penpot/penpot.git
synced 2026-09-13 23:48:42 +00:00
🐛 Fix problem with scaling constraints
This commit is contained in:
parent
2735229ffe
commit
9c2cbb2a48
@ -326,7 +326,9 @@
|
|||||||
reset-modifiers?
|
reset-modifiers?
|
||||||
(and (gpo/axis-aligned? parent-bounds)
|
(and (gpo/axis-aligned? parent-bounds)
|
||||||
(gpo/axis-aligned? child-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
|
modifiers
|
||||||
(if reset-modifiers?
|
(if reset-modifiers?
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user