0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-18 18:51:29 -05:00

Send the select-shape event before acquire move action.

This commit is contained in:
Andrey Antukh 2016-04-09 23:18:04 +03:00
parent bfc0fc0f98
commit 50e8de4552
No known key found for this signature in database
GPG key ID: 4DFEBCB8316A8B95

View file

@ -28,8 +28,8 @@
(and (not selected?) (empty? selected))
(do
(dom/stop-propagation event)
(uuc/acquire-action! "ui.shape.move")
(rs/emit! (dw/select-shape id)))
(rs/emit! (dw/select-shape id))
(uuc/acquire-action! "ui.shape.move"))
(and (not selected?) (not (empty? selected)))
(do