mirror of
https://github.com/penpot/penpot.git
synced 2025-02-26 00:36:12 -05:00
🐛 Bad padding gui on nil sizing
This commit is contained in:
parent
91e81823a5
commit
4d70d3b909
1 changed files with 2 additions and 2 deletions
|
@ -390,8 +390,8 @@
|
|||
:p3 (if (:flip-y frame) true false)
|
||||
:p4 (if (:flip-x frame) true false)}
|
||||
negate (cond-> negate
|
||||
(= :fix (:layout-item-h-sizing frame)) (assoc :p2 (not (:p2 negate)))
|
||||
(= :fix (:layout-item-v-sizing frame)) (assoc :p3 (not (:p3 negate))))
|
||||
(not= :auto (:layout-item-h-sizing frame)) (assoc :p2 (not (:p2 negate)))
|
||||
(not= :auto (:layout-item-v-sizing frame)) (assoc :p3 (not (:p3 negate))))
|
||||
|
||||
padding-rect-data {:p1 {:key (str frame-id "-p1")
|
||||
:x x1
|
||||
|
|
Loading…
Add table
Reference in a new issue