diff --git a/src/main/createWindow.js b/src/main/createWindow.js index 4ac1860ee..ff4f5e76b 100644 --- a/src/main/createWindow.js +++ b/src/main/createWindow.js @@ -72,6 +72,7 @@ export default appState => { } setupBarMenu(); + // Windows back/forward mouse navigation window.on('app-command', (e, cmd) => { switch (cmd) { @@ -84,18 +85,6 @@ export default appState => { default: // Do nothing } }); - // Mac back/forward swipe navigation - window.on('swipe', (e, dir) => { - switch (dir) { - case 'left': - window.webContents.send('navigate-backward', null); - break; - case 'right': - window.webContents.send('navigate-forward', null); - break; - default: // Do nothing - } - }); window.on('close', event => { if (!appState.isQuitting && !appState.autoUpdateAccepted) {