Skip to content

Commit

Permalink
GUI: correct cursor position on song stop (fix #2274)
Browse files Browse the repository at this point in the history
  • Loading branch information
daliacoss authored and tildearrow committed Dec 19, 2024
1 parent 64db1c5 commit 6a8ca37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/gui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6a8ca37

Please sign in to comment.