0
Fork 0
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:
alonso.torres 2020-12-23 10:22:52 +01:00
parent 6af3824293
commit 33b6df01ba

View file

@ -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]