add shortcut to toggle sidebar

This commit is contained in:
2024-11-10 15:45:40 -06:00
parent c9504933d2
commit 553ed3f76d
+1
View File
@@ -40,6 +40,7 @@ const menuTemplate = [
{ role: 'togglefullscreen' },
{
label: 'Toggle Sidebar',
accelerator: 'CommandOrControl+B',
id: 'toggleSidebar',
click(menuItem, window, event) {
mainWindow.webContents.send('toggleSidebar');