Fix ignoreTyping config (fix #5174)

This commit is contained in:
the1812 2025-04-01 08:34:00 +08:00
parent 19e899dcef
commit a4a4c066c2

View File

@ -57,7 +57,8 @@ export const loadKeyBindings = lodash.once((bindings: KeyBinding[]) => {
return true
})()
if (
(binding.action.ignoreFocus !== false || binding.action.ignoreTyping !== false) &&
binding.action.ignoreFocus !== false &&
binding.action.ignoreTyping !== false &&
hasElementFocus
) {
return