Skip to content

Smooth the trackpad scrolling interaction for Qt.

David Gobbi requested to merge dgobbi/vtk:qt-accumulate-delta into master

When Qt is used with a trackpad (rather than with a wheel mouse) the MouseWheel events did not correspond to the actual amount by which the finger had moved (or, at least, this was the case on OS X).

By accumulating the delta values and only invoking a ScrollWheel event when the accumulated delta passes a certain threshold, the OS X trackpad interaction can be fixed.

Merge request reports