mirror of
https://github.com/penpot/penpot.git
synced 2025-08-06 05:18:21 +02: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))
|
(and (not selected?) (empty? selected))
|
||||||
(do
|
(do
|
||||||
(dom/stop-propagation event)
|
(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)))
|
(and (not selected?) (not (empty? selected)))
|
||||||
(do
|
(do
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue