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:
pengx17
2025-05-06 02:54:37 +00:00
parent 065167a09f
commit 1ca7109812

View File

@@ -216,14 +216,14 @@ export function createApplicationMenu() {
}),
{
label: 'Switch to next tab',
accelerator: 'CommandOrControl+Tab',
accelerator: 'Control+Tab',
click: () => {
switchToNextTab();
},
},
{
label: 'Switch to previous tab',
accelerator: 'CommandOrControl+Shift+Tab',
accelerator: 'Control+Shift+Tab',
click: () => {
switchToPreviousTab();
},