mirror of
https://github.com/penpot/penpot.git
synced 2026-10-28 00:28:41 -04:00
🐛 Fix problem with path not closing on escape
This commit is contained in:
1 parent
b280b5a517
commit
22b45266bf
1 file changed
+1
-1
@@ -18,7 +18,7 @@
|
||||
|
||||
(defn end-path-event? [event]
|
||||
(or (= (ptk/type event) ::common/finish-path)
|
||||
(= (ptk/type event) :esc-pressed)
|
||||
(= (ptk/type event) :app.main.data.workspace.path.shortcuts/esc-pressed)
|
||||
(= :app.main.data.workspace.common/clear-edition-mode (ptk/type event))
|
||||
(= :app.main.data.workspace/finalize-page (ptk/type event))
|
||||
(= event :interrupt) ;; ESC
|
||||
|
||||
Reference in new issue
Block a user