From 8296ba1eeb69450c1993aa68c919e12bf5f00c53 Mon Sep 17 00:00:00 2001 From: gijoe0295 Date: Sat, 20 Jan 2024 01:39:21 +0700 Subject: [PATCH] reverse direction of three-finger swipe --- desktop/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/desktop/main.js b/desktop/main.js index c9d614d3de15..e53f03530b57 100644 --- a/desktop/main.js +++ b/desktop/main.js @@ -512,10 +512,10 @@ const mainWindow = () => { }); browserWindow.on('swipe', (e, direction) => { - if (direction === 'right') { + if (direction === 'left') { browserWindow.webContents.goBack(); } - if (direction === 'left') { + if (direction === 'right') { browserWindow.webContents.goForward(); } });