diff --git a/src/drivers/Qt/TasEditor/TasEditorWindow.cpp b/src/drivers/Qt/TasEditor/TasEditorWindow.cpp index 7d8dbcef..82f2d43b 100644 --- a/src/drivers/Qt/TasEditor/TasEditorWindow.cpp +++ b/src/drivers/Qt/TasEditor/TasEditorWindow.cpp @@ -4566,7 +4566,7 @@ void QPianoRoll::wheelEvent(QWheelEvent *event) if (!numPixels.isNull()) { - wheelPixelCounter -= numPixels.y(); + wheelPixelCounter += numPixels.y(); //printf("numPixels: (%i,%i) \n", numPixels.x(), numPixels.y() ); } else if (!numDegrees.isNull()) @@ -4574,7 +4574,7 @@ void QPianoRoll::wheelEvent(QWheelEvent *event) //QPoint numSteps = numDegrees / 15; //printf("numSteps: (%i,%i) \n", numSteps.x(), numSteps.y() ); //printf("numDegrees: (%i,%i) %i\n", numDegrees.x(), numDegrees.y(), pxLineSpacing ); - wheelPixelCounter -= (pxLineSpacing * numDegrees.y()) / (15 * 8); + wheelPixelCounter += (pxLineSpacing * numDegrees.y()) / (15 * 8); } //printf("Wheel Event: %i\n", wheelPixelCounter); diff --git a/src/drivers/Qt/TraceLogger.cpp b/src/drivers/Qt/TraceLogger.cpp index c1680bf1..4c098123 100644 --- a/src/drivers/Qt/TraceLogger.cpp +++ b/src/drivers/Qt/TraceLogger.cpp @@ -1751,7 +1751,7 @@ void QTraceLogView::wheelEvent(QWheelEvent *event) if (!numPixels.isNull()) { - wheelPixelCounter -= numPixels.y(); + wheelPixelCounter += numPixels.y(); //printf("numPixels: (%i,%i) \n", numPixels.x(), numPixels.y() ); } else if (!numDegrees.isNull()) @@ -1759,7 +1759,7 @@ void QTraceLogView::wheelEvent(QWheelEvent *event) //QPoint numSteps = numDegrees / 15; //printf("numSteps: (%i,%i) \n", numSteps.x(), numSteps.y() ); //printf("numDegrees: (%i,%i) %i\n", numDegrees.x(), numDegrees.y(), pxLineSpacing ); - wheelPixelCounter -= (pxLineSpacing * numDegrees.y()) / (15 * 8); + wheelPixelCounter += (pxLineSpacing * numDegrees.y()) / (15 * 8); } //printf("Wheel Event: %i\n", wheelPixelCounter);