From 64e4aba41481bc70de208d686fe5d016acc383d8 Mon Sep 17 00:00:00 2001 From: coderiaser Date: Sun, 10 Aug 2025 23:49:43 +0300 Subject: [PATCH] fix: client: menu: before show: unsetBind --- client/modules/menu.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/client/modules/menu.js b/client/modules/menu.js index a8db2924..c68bed67 100644 --- a/client/modules/menu.js +++ b/client/modules/menu.js @@ -202,6 +202,8 @@ function isPath(x, y) { } function beforeShow(callback, params) { + Key.unsetBind(); + const {name} = params; const el = DOM.getCurrentByPosition({ x: params.x, @@ -327,8 +329,10 @@ function listener(event) { const key = event.keyCode; const isBind = Key.isBind(); - if (key === ESC) + if (key === ESC) { + Key.setBind(); return hide(); + } if (isBind && key === F9) { const position = getCurrentPosition();