mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-17 22:00:59 +01:00
Fixes #108880
This commit is contained in:
@@ -956,6 +956,12 @@ export class MacLinuxKeyboardMapper implements IKeyboardMapper {
|
||||
}
|
||||
}
|
||||
|
||||
// See https://github.com/microsoft/vscode/issues/108880
|
||||
if (binding.ctrlKey && !binding.metaKey && !binding.altKey && constantKeyCode === KeyCode.US_MINUS) {
|
||||
// ctrl+- and ctrl+shift+- render very similarly in native macOS menus, leading to confusion
|
||||
return null;
|
||||
}
|
||||
|
||||
if (constantKeyCode !== -1) {
|
||||
return this._getElectronLabelForKeyCode(constantKeyCode);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user