correct X scroll direction for history navigation

This commit is contained in:
siikamiika 2019-11-28 15:54:55 +02:00
parent 86ff831600
commit f1ecb4cd39

View File

@ -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();