mirror of
https://github.com/penpot/penpot.git
synced 2026-03-09 19:56:05 +00:00
🐛 Fix during scale paddings glow
This commit is contained in:
committed by
Alonso Torres
parent
0f9ad0907e
commit
bc07dad4ae
@@ -222,12 +222,14 @@
|
||||
|
||||
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)
|
||||
(= (: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))]
|
||||
|
||||
(hooks/setup-dom-events zoom disable-paste in-viewport? workspace-read-only?)
|
||||
|
||||
Reference in New Issue
Block a user