GUI: new pattern cursor logic, part 18
fix another thing
This commit is contained in:
parent
55e00cf538
commit
aec1f80279
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue