# HG changeset patch # User Chris Cannam # Date 1542358898 0 # Node ID a33d38247631ec96dc048ccc2fa0c4af0093f50b # Parent 10e768adaee5760d7d58066762c3744761f6b12a Make horizontal wheeling a bit less crazily fast in the absence of fine delta information diff -r 10e768adaee5 -r a33d38247631 view/Pane.cpp --- a/view/Pane.cpp Thu Nov 15 15:08:08 2018 +0000 +++ b/view/Pane.cpp Fri Nov 16 09:01:38 2018 +0000 @@ -2367,18 +2367,14 @@ void Pane::wheelHorizontal(int sign, Qt::KeyboardModifiers mods) { -// cerr << "wheelHorizontal: sign = " << sign << endl; - // Scroll left or right, rapidly - wheelHorizontalFine((width() / 4) * sign, mods); + wheelHorizontalFine(120 * sign, mods); } void Pane::wheelHorizontalFine(int pixels, Qt::KeyboardModifiers) { -// cerr << "wheelHorizontalFine: pixels = " << pixels << endl; - // Scroll left or right by a fixed number of pixels if (getStartFrame() < 0 &&