aboutsummaryrefslogtreecommitdiff
path: root/ext/mixed/js/display.js
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2019-11-28 15:54:55 +0200
committersiikamiika <siikamiika@users.noreply.github.com>2019-11-28 15:54:55 +0200
commitf1ecb4cd397ae047917582a5fc056a9151eb937d (patch)
tree086613396008d43e12317f40249622a37ba5d1d7 /ext/mixed/js/display.js
parent86ff831600254329bd52e90eb141a1c2c8e3d031 (diff)
correct X scroll direction for history navigation
Diffstat (limited to 'ext/mixed/js/display.js')
-rw-r--r--ext/mixed/js/display.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mixed/js/display.js b/ext/mixed/js/display.js
index f81ea7ee..bd4dc0d0 100644
--- a/ext/mixed/js/display.js
+++ b/ext/mixed/js/display.js
@@ -223,7 +223,7 @@ class Display {
e.preventDefault();
}
} else if (e.shiftKey) {
- const delta = e.deltaX || e.deltaY;
+ const delta = -e.deltaX || e.deltaY;
if (delta > 0) {
this.sourceTermView();
e.preventDefault();