remove mac
Doesn't work with 3 finger swipe, 2 finger not supported.
This commit is contained in:
parent
53107fa098
commit
37f784e3b0
1 changed files with 1 additions and 12 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue