mirror of
https://github.com/penpot/penpot.git
synced 2025-01-25 07:58:49 -05:00
🐛 Fixes when blocking an object deselects it
This commit is contained in:
parent
6af3824293
commit
33b6df01ba
1 changed files with 2 additions and 1 deletions
|
@ -120,7 +120,8 @@
|
|||
(dom/stop-propagation event)
|
||||
(if (:blocked item)
|
||||
(st/emit! (dw/update-shape-flags id {:blocked false}))
|
||||
(st/emit! (dw/update-shape-flags id {:blocked true}))))
|
||||
(st/emit! (dw/update-shape-flags id {:blocked true})
|
||||
(dw/select-shape id true))))
|
||||
|
||||
toggle-visibility
|
||||
(fn [event]
|
||||
|
|
Loading…
Add table
Reference in a new issue