mirror of
https://github.com/penpot/penpot.git
synced 2025-01-09 08:20:45 -05:00
Merge pull request #1822 from penpot/superalex-multiselected-elements-drag-problem-on-empty-areas
🐛 Multiselected elements drag problem on empty areas
This commit is contained in:
commit
59310cdd71
1 changed files with 2 additions and 5 deletions
|
@ -112,10 +112,7 @@
|
|||
(when (and left-click?
|
||||
(not mod?)
|
||||
(not shift?)
|
||||
(not @space?)
|
||||
(or (not @hover)
|
||||
(= :frame (:type @hover))
|
||||
(some #(contains? selected %) @hover-ids)))
|
||||
(not @space?))
|
||||
(dom/prevent-default bevent)
|
||||
(dom/stop-propagation bevent)
|
||||
(st/emit! (dw/start-move-selected)))))))
|
||||
|
|
Loading…
Reference in a new issue