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:
parent
e17ab24e66
commit
6e8cdd764a
2 changed files with 2 additions and 2 deletions
|
@ -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)))
|
||||
|
|
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue