From 42d6729aba525342765c3c102aba1186ee75cd23 Mon Sep 17 00:00:00 2001 From: alemuntoni Date: Mon, 16 Nov 2020 19:33:31 +0100 Subject: [PATCH] fix #803 --- src/meshlab/glarea.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/meshlab/glarea.cpp b/src/meshlab/glarea.cpp index 5b19e6b5a..25ddcbf87 100644 --- a/src/meshlab/glarea.cpp +++ b/src/meshlab/glarea.cpp @@ -1303,7 +1303,7 @@ void GLArea::wheelEvent(QWheelEvent*e) { const int WHEEL_STEP = 120; - float notch = e->angleDelta().y()/ float(WHEEL_STEP); + float notch = e->angleDelta().x()/ float(WHEEL_STEP); if (glas.wheelDirection) notch *= -1; switch(e->modifiers())