Fix scrolling with touchpad when in Image view and mouse wheel behaviour set to…

Authored by huoni on Mar 10 2018, 1:45 AM.

Description

Fix scrolling with touchpad when in Image view and mouse wheel behaviour set to Browse

Summary:
Similar to zooming using Ctrl+touchpad two-finger scroll, using touchpad scrolling
in image view when mouse wheel behaviour is set to Browse, browsing images is way
too fast.
This implements the same fix in D7744: Reduce hyper-sensitive touchpad scroll-zoom speed for this case.

BUG: 388353

Test Plan:

  1. Settings > Image View > Mouse wheel behaviour = Browse
  2. Open folder with a bunch of images, switch to Image view
  3. Enable thumbnail bar
  4. With mouse over image, scroll with the touchpad

Reviewers: Gwenview, ngraham, rkflx

Reviewed By: Gwenview, ngraham, rkflx

Subscribers: mart

Differential Revision: https://phabricator.kde.org/D11200