diff options
author | siikamiika <siikamiika@users.noreply.github.com> | 2019-11-28 15:54:55 +0200 |
---|---|---|
committer | siikamiika <siikamiika@users.noreply.github.com> | 2019-11-28 15:54:55 +0200 |
commit | f1ecb4cd397ae047917582a5fc056a9151eb937d (patch) | |
tree | 086613396008d43e12317f40249622a37ba5d1d7 /ext/mixed | |
parent | 86ff831600254329bd52e90eb141a1c2c8e3d031 (diff) |
correct X scroll direction for history navigation
Diffstat (limited to 'ext/mixed')
-rw-r--r-- | ext/mixed/js/display.js | 2 |
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(); |