From 0c1c338ce7cb26cfe772a4e0f6bd86e68c92c412 Mon Sep 17 00:00:00 2001 From: mjbudd77 Date: Thu, 23 Dec 2021 14:14:55 -0500 Subject: [PATCH] Changed Qt piano roll single wheel detent to move by 6 lines. --- src/drivers/Qt/TasEditor/TasEditorWindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/drivers/Qt/TasEditor/TasEditorWindow.cpp b/src/drivers/Qt/TasEditor/TasEditorWindow.cpp index b7ded727..9ccea1f7 100644 --- a/src/drivers/Qt/TasEditor/TasEditorWindow.cpp +++ b/src/drivers/Qt/TasEditor/TasEditorWindow.cpp @@ -4862,7 +4862,7 @@ void QPianoRoll::wheelEvent(QWheelEvent *event) { if (zDelta > 0) { - ofs += zDelta; + ofs += (zDelta*6); if (ofs > maxLineOffset) { @@ -4872,7 +4872,7 @@ void QPianoRoll::wheelEvent(QWheelEvent *event) } else if (zDelta < 0) { - ofs += zDelta; + ofs += (zDelta*6); if (ofs < 0) {