diff widgets/Panner.cpp @ 193:57c2350a8c40

* Add slice layers (so you can display a slice of a colour 3d plot as if it were a spectrum) * Make spectrum layer a subclass of slice layer
author Chris Cannam
date Fri, 26 Jan 2007 16:59:57 +0000
parents 5b7472db612b
children e6d0b097d102
line wrap: on
line diff
--- a/widgets/Panner.cpp	Wed Jan 24 17:14:24 2007 +0000
+++ b/widgets/Panner.cpp	Fri Jan 26 16:59:57 2007 +0000
@@ -104,7 +104,7 @@
 void
 Panner::wheelEvent(QWheelEvent *e)
 {
-    if (e->delta() > 0) {
+    if (e->delta() < 0) {
         m_rectY += 0.1;
     } else {
         m_rectY -= 0.1;