mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Change Close menu item accelerator
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
be1a2ebe59
commit
2a13484a84
@ -135,13 +135,18 @@ export function buildMenu(windowManager: WindowManager) {
|
||||
}
|
||||
}
|
||||
]),
|
||||
|
||||
{ type: "separator" },
|
||||
{
|
||||
role: "close",
|
||||
label: "Close Window"
|
||||
},
|
||||
|
||||
...(isMac ? [
|
||||
{
|
||||
role: "close",
|
||||
label: "Close Window",
|
||||
accelerator: "Shift+Cmd+W"
|
||||
}
|
||||
] as MenuItemConstructorOptions[] : []),
|
||||
|
||||
...ignoreOnMac([
|
||||
{ type: "separator" },
|
||||
{
|
||||
label: "Exit",
|
||||
accelerator: "Alt+F4",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user