0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-28 17:39:26 -05:00

🐛 Fix during scale paddings glow

This commit is contained in:
Pablo Alba 2023-03-24 17:32:00 +01:00 committed by Alonso Torres
parent caf462e9b8
commit eeb76b1e50

View file

@ -222,12 +222,14 @@
disabled-guides? (or drawing-tool transform) disabled-guides? (or drawing-tool transform)
show-padding? (and (= (count selected-shapes) 1) show-padding? (and (nil? transform)
(= (count selected-shapes) 1)
(= (:type (first selected-shapes)) :frame) (= (:type (first selected-shapes)) :frame)
(= (:layout (first selected-shapes)) :flex)) (= (:layout (first selected-shapes)) :flex))
show-margin? (and (= (count selected-shapes) 1) show-margin? (and (nil? transform)
(= (count selected-shapes) 1)
(= (:layout selected-frame) :flex))] (= (:layout selected-frame) :flex))]
(hooks/setup-dom-events zoom disable-paste in-viewport? workspace-read-only?) (hooks/setup-dom-events zoom disable-paste in-viewport? workspace-read-only?)