# HG changeset patch # User Chris Cannam # Date 1480503256 0 # Node ID ba379b4d45554d5a407ca29e720bedb8f8a069f1 # Parent 84042e8c3c03af0e2053a9619358f0d1cf555d2d Always accept wheel events diff -r 84042e8c3c03 -r ba379b4d4555 view/Pane.cpp --- a/view/Pane.cpp Mon Nov 28 14:39:59 2016 +0000 +++ b/view/Pane.cpp Wed Nov 30 10:54:16 2016 +0000 @@ -2271,6 +2271,8 @@ { cerr << "wheelEvent, delta " << e->delta() << ", angleDelta " << e->angleDelta().x() << "," << e->angleDelta().y() << ", pixelDelta " << e->pixelDelta().x() << "," << e->pixelDelta().y() << ", modifiers " << e->modifiers() << endl; + e->accept(); // we never want wheel events on the pane to be propagated + int dx = e->angleDelta().x(); int dy = e->angleDelta().y();