0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-25 07:58:49 -05:00

🐛 Fixed problem with selection

This commit is contained in:
alonso.torres 2020-05-15 08:11:29 +02:00
parent 6356755f06
commit fe9913dd3f

View file

@ -36,7 +36,7 @@
(= type :frame)
(when selected?
(dom/stop-propagation event)
(st/emit! (dw/start-move-selected)))))
(st/emit! (dw/start-move-selected)))
:else
(do
@ -45,7 +45,7 @@
(when-not (or (empty? selected) (kbd/shift? event))
(st/emit! dw/deselect-all))
(st/emit! (dw/select-shape id)))
(st/emit! (dw/start-move-selected)))))
(st/emit! (dw/start-move-selected)))))))
(defn on-context-menu
[event shape]