fix: client: menu: close: ESC

This commit is contained in:
coderiaser 2025-07-05 20:32:21 +03:00
parent 121b114e89
commit b1e231a5bb

View file

@ -326,14 +326,11 @@ function listener(event) {
const key = event.keyCode;
const isBind = Key.isBind();
if (!isBind)
return;
if (key === ESC)
return hide();
if (key === F9) {
if (isBind && key === F9) {
const position = getCurrentPosition();
MenuContext.show(position.x, position.y);