mirror of
https://github.com/penpot/penpot.git
synced 2025-03-19 03:01:27 -05:00
Send the select-shape event before acquire move action.
This commit is contained in:
parent
bfc0fc0f98
commit
50e8de4552
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue