mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
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',
|
||||
accelerator: 'CommandOrControl+Tab',
|
||||
accelerator: 'Control+Tab',
|
||||
click: () => {
|
||||
switchToNextTab();
|
||||
},
|
||||
},
|
||||
{
|
||||
label: 'Switch to previous tab',
|
||||
accelerator: 'CommandOrControl+Shift+Tab',
|
||||
accelerator: 'Control+Shift+Tab',
|
||||
click: () => {
|
||||
switchToPreviousTab();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user