🐛 Fix toolbar keeps hiding when clicking outside

This commit is contained in:
AzazelN28 2024-06-12 14:43:27 +02:00 committed by Alejandro Alonso
parent a150e1c2e5
commit b4004af255
2 changed files with 2 additions and 0 deletions

View file

@ -22,6 +22,7 @@
(or (= type ::common/finish-path)
(= type :app.main.data.workspace.path.shortcuts/esc-pressed)
(= type :app.main.data.workspace.common/clear-edition-mode)
(= type :app.main.data.workspace.edition/clear-edition-mode)
(= type :app.main.data.workspace/finalize-page)
(= event :interrupt) ;; ESC
(and ^boolean (mse/mouse-event? event)