mirror of
https://github.com/penpot/penpot.git
synced 2025-01-27 00:49:28 -05:00
🐛 Fix during scale paddings glow
This commit is contained in:
parent
caf462e9b8
commit
eeb76b1e50
1 changed files with 4 additions and 2 deletions
|
@ -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?)
|
||||
|
|
Loading…
Add table
Reference in a new issue