Changed Qt piano roll single wheel detent to move by 6 lines.

This commit is contained in:
mjbudd77 2021-12-23 14:14:55 -05:00
parent f4181e799b
commit 0c1c338ce7
1 changed files with 2 additions and 2 deletions

View File

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