mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-14 08:34:37 +00:00
fix #803
This commit is contained in:
parent
cbc87f4e67
commit
42d6729aba
@ -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())
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user