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:
parent
6356755f06
commit
fe9913dd3f
1 changed files with 2 additions and 2 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Reference in a new issue