0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-24 15:39:50 -05:00

🐛 Fix multiselected elements drag problem on empty areas

This commit is contained in:
Alejandro Alonso 2022-04-19 14:20:42 +02:00
parent b78d9dcc52
commit c8d3975680

View file

@ -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)))))))