GUI: correct cursor position on song stop (fix #2274)

This commit is contained in:
Dalia 2024-12-11 18:51:00 -07:00 committed by tildearrow
parent 64db1c5e83
commit 6a8ca37a20

View file

@ -1259,7 +1259,7 @@ void FurnaceGUI::stop() {
if (followPattern && wasPlaying) {
nextScroll=-1.0f;
nextAddScroll=0.0f;
cursor.y=oldRow;
e->getPlayPos(curOrder, cursor.y);
if (selStart.xCoarse==selEnd.xCoarse && selStart.xFine==selEnd.xFine && selStart.y==selEnd.y && !selecting) {
selStart=cursor;
selEnd=cursor;