0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-10 08:50:57 -05:00

🐛 Fixes problem with closing paths

This commit is contained in:
alonso.torres 2020-06-04 13:33:22 +02:00
parent e17ab24e66
commit 6e8cdd764a
2 changed files with 2 additions and 2 deletions

View file

@ -130,7 +130,7 @@
(def handle-drawing-path
(letfn [(stoper-event? [{:keys [type shift] :as event}]
(or (= event ::end-path-drawing)
(or (= event :path/end-path-drawing)
(and (ms/mouse-event? event)
(or (and (= type :double-click) shift)
(= type :context-menu)))

View file

@ -47,7 +47,7 @@
(dom/stop-propagation event)
(st/emit! (dw/assign-cursor-tooltip nil)
dd/close-drawing-path
::end-path-drawing))
:path/end-path-drawing))
on-mouse-enter
(fn [event]