Merge branch 'main-dev' into dev-contextMenu

This commit is contained in:
2025-08-13 10:39:36 +05:30
44 changed files with 2723 additions and 615 deletions

View File

@@ -191,12 +191,9 @@ const KeyPressListener: React.FC = () => {
};
const handleKeyPress = (event: KeyboardEvent) => {
if (isTextInput(document.activeElement)) return;
const keyCombination = detectModifierKeys(event);
if (isTextInput(document.activeElement) && keyCombination !== "ESCAPE")
return;
if (isTextInput(document.activeElement) && keyCombination !== "ESCAPE") return;
if (keyCombination === "ESCAPE") {
setWalkMode(false);