From 5feb322c3206234c6b1652161547b17cacb1b635 Mon Sep 17 00:00:00 2001 From: JensLincke Date: Thu, 2 May 2024 15:24:29 +0200 Subject: [PATCH] fix Alt_[ in MacOS in container SQUASHED: fix-Alt_-in-container, --- src/components/tools/lively-container.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/tools/lively-container.js b/src/components/tools/lively-container.js index cbd679bb8..bad620288 100644 --- a/src/components/tools/lively-container.js +++ b/src/components/tools/lively-container.js @@ -988,7 +988,7 @@ export default class Container extends Morph { this.switchBetweenJSAndHTML(); evt.stopPropagation(); evt.preventDefault(); - } else if (evt.key === '[' && (evt.altKey && !evt.ctrlKey && !evt.shiftKey)) { + } else if (evt.key === '[' && (evt.altKey && !evt.ctrlKey && !evt.shiftKey) && !lively.isMacOS()) { // #KeyboardShortcut Alt+[ toggle navbar between file structure and folder view this.toggleNavbar() } else if (evt.key === 'N' && evt.ctrlKey && evt.shiftKey) {