This commit is contained in:
alemuntoni 2020-11-16 19:33:31 +01:00
parent cbc87f4e67
commit 42d6729aba

View File

@ -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())