Skip to content

Commit db1d63c

Browse files
authored
feat(compass): update close window hotkey to be cmd+shift+w to avoid conflict with close tab cmd+w COMPASS-7301 (#5812)
1 parent cac1f27 commit db1d63c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/compass/src/main/menu.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ describe('CompassMenu', function () {
354354
label: 'Window',
355355
submenu: [
356356
{ label: 'Minimize', accelerator: 'Command+M', role: 'minimize' },
357-
{ label: 'Close', accelerator: 'Command+W', role: 'close' },
357+
{ label: 'Close', accelerator: 'Command+Shift+W', role: 'close' },
358358
{ type: 'separator' },
359359
{ label: 'Bring All to Front', role: 'front' },
360360
],

packages/compass/src/main/menu.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ function windowSubMenu(): MenuItemConstructorOptions {
418418
},
419419
{
420420
label: 'Close',
421-
accelerator: 'Command+W',
421+
accelerator: 'Command+Shift+W',
422422
role: 'close' as const,
423423
},
424424
separator(),

0 commit comments

Comments
 (0)