mirror of
https://github.com/penpot/penpot.git
synced 2026-08-01 19:06:18 +00:00
🐛 Fix during scale paddings glow
This commit is contained in:
parent
0f9ad0907e
commit
bc07dad4ae
@ -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?)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user