GUI: finally implement "don't scroll when moving c

ursor" setting
This commit is contained in:
tildearrow 2022-04-29 23:53:15 -05:00
parent 2e8634626d
commit d79e5d77a7
3 changed files with 7 additions and 5 deletions

View file

@ -193,7 +193,9 @@ void FurnaceGUI::moveCursor(int x, int y, bool select) {
selStart=cursor;
}
selEnd=cursor;
updateScroll(cursor.y);
if (!settings.cursorMoveNoScroll) {
updateScroll(cursor.y);
}
e->setMidiBaseChan(cursor.xCoarse);
}