0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-24 15:39:50 -05:00

Move shape while other shape is selected (#17)

This commit is contained in:
Jesús Espino 2016-04-16 12:55:07 +02:00 committed by Andrey Antukh
parent 27e14c0548
commit 97daf44f5c

View file

@ -37,8 +37,10 @@
(dom/stop-propagation event)
(if (kbd/shift? event)
(rs/emit! (uds/select-shape id))
(rs/emit! (uds/deselect-all)
(uds/select-shape id))))
(do
(rs/emit! (uds/deselect-all)
(uds/select-shape id))
(uuc/acquire-action! "ui.shape.move"))))
:else
(do