fix(electron): adjust switch tab shortcuts on Mac (#12060)
fix #10541 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Style** - Updated keyboard shortcuts for switching tabs to use 'Control+Tab' and 'Control+Shift+Tab'. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -216,14 +216,14 @@ export function createApplicationMenu() {
|
|||||||
}),
|
}),
|
||||||
{
|
{
|
||||||
label: 'Switch to next tab',
|
label: 'Switch to next tab',
|
||||||
accelerator: 'CommandOrControl+Tab',
|
accelerator: 'Control+Tab',
|
||||||
click: () => {
|
click: () => {
|
||||||
switchToNextTab();
|
switchToNextTab();
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Switch to previous tab',
|
label: 'Switch to previous tab',
|
||||||
accelerator: 'CommandOrControl+Shift+Tab',
|
accelerator: 'Control+Shift+Tab',
|
||||||
click: () => {
|
click: () => {
|
||||||
switchToPreviousTab();
|
switchToPreviousTab();
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user