mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-07-10 21:06:33 +00:00
aligned the bindings for windwos.
quit and close. Signed-off-by: Akos Kitta <kittaakos@typefox.io>
This commit is contained in:
parent
ee327eff18
commit
e72e794266
@ -57,7 +57,7 @@ export class CloseSketch extends SketchContribution {
|
|||||||
registerKeybindings(registry: KeybindingRegistry): void {
|
registerKeybindings(registry: KeybindingRegistry): void {
|
||||||
registry.registerKeybinding({
|
registry.registerKeybinding({
|
||||||
command: CloseSketch.Commands.CLOSE_SKETCH.id,
|
command: CloseSketch.Commands.CLOSE_SKETCH.id,
|
||||||
keybinding: 'CtrlCmd+W' // TODO: Windows binding?
|
keybinding: 'CtrlCmd+W'
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ export class QuitApp extends Contribution {
|
|||||||
if (!isOSX) {
|
if (!isOSX) {
|
||||||
registry.registerKeybinding({
|
registry.registerKeybinding({
|
||||||
command: QuitApp.Commands.QUIT_APP.id,
|
command: QuitApp.Commands.QUIT_APP.id,
|
||||||
keybinding: isWindows ? 'Alt+F4' : 'Ctrl+Q'
|
keybinding: 'CtrlCmd+Q'
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user