Skip to content

Commit

Permalink
fix Alt_[ in MacOS in container
Browse files Browse the repository at this point in the history
SQUASHED: fix-Alt_-in-container,
  • Loading branch information
JensLincke committed May 2, 2024
1 parent 6a95c0e commit 5feb322
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/tools/lively-container.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 5feb322

Please sign in to comment.