From f1ecb4cd397ae047917582a5fc056a9151eb937d Mon Sep 17 00:00:00 2001 From: siikamiika Date: Thu, 28 Nov 2019 15:54:55 +0200 Subject: [PATCH] correct X scroll direction for history navigation --- ext/mixed/js/display.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();