GUI: new pattern cursor logic, part 18

fix another thing
This commit is contained in:
tildearrow 2025-07-05 04:46:25 -05:00
parent 55e00cf538
commit aec1f80279

View file

@ -2195,6 +2195,10 @@ void FurnaceGUI::doUndo() {
}
}
if (shallReplay && e->isPlaying()) play();
if (cursor.order!=curOrder) {
e->setOrder(cursor.order);
}
if (curOrder>=e->curSubSong->ordersLen) {
curOrder=e->curSubSong->ordersLen-1;
@ -2272,6 +2276,10 @@ void FurnaceGUI::doRedo() {
}
if (shallReplay && e->isPlaying()) play();
if (cursor.order!=curOrder) {
e->setOrder(cursor.order);
}
if (curOrder>=e->curSubSong->ordersLen) {
curOrder=e->curSubSong->ordersLen-1;
e->setOrder(curOrder);