GUI: correct cursor position on song stop (fix #2274)
This commit is contained in:
parent
64db1c5e83
commit
6a8ca37a20
|
@ -1259,7 +1259,7 @@ void FurnaceGUI::stop() {
|
||||||
if (followPattern && wasPlaying) {
|
if (followPattern && wasPlaying) {
|
||||||
nextScroll=-1.0f;
|
nextScroll=-1.0f;
|
||||||
nextAddScroll=0.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) {
|
if (selStart.xCoarse==selEnd.xCoarse && selStart.xFine==selEnd.xFine && selStart.y==selEnd.y && !selecting) {
|
||||||
selStart=cursor;
|
selStart=cursor;
|
||||||
selEnd=cursor;
|
selEnd=cursor;
|
||||||
|
|
Loading…
Reference in a new issue