mirror of
https://github.com/logseq/logseq.git
synced 2026-05-29 23:19:38 +00:00
fix(shortcuts): restore all shortcuts when the shortcuts recorder closed
This commit is contained in:
@@ -235,10 +235,11 @@
|
||||
:shortcuts
|
||||
(merge
|
||||
(:shortcuts (state/get-config))
|
||||
{k keystroke}))
|
||||
(js/setTimeout #(refresh!) 500)))
|
||||
{k keystroke}))))
|
||||
|
||||
(when-let [^js handler (::key-record-handler state)]
|
||||
(.dispose handler))
|
||||
|
||||
(js/setTimeout #(refresh!) 500)
|
||||
|
||||
(dissoc state ::key-record-handler))})
|
||||
|
||||
Reference in New Issue
Block a user