Recovered "Follow pattern state" on play due to Find/Replace (#2468)
This commit is contained in:
parent
26a66ad4c4
commit
dcb383b86d
3 changed files with 13 additions and 2 deletions
|
|
@ -1186,6 +1186,10 @@ void FurnaceGUI::play(int row) {
|
|||
memset(chanOscBright,0,DIV_MAX_CHANS*sizeof(float));
|
||||
e->walkSong(loopOrder,loopRow,loopEnd);
|
||||
memset(lastIns,-1,sizeof(int)*DIV_MAX_CHANS);
|
||||
if (wasFollowing) {
|
||||
followPattern=true;
|
||||
wasFollowing=false;
|
||||
}
|
||||
if (followPattern) makeCursorUndo();
|
||||
if (!followPattern) e->setOrder(curOrder);
|
||||
if (row>=0) {
|
||||
|
|
@ -1225,6 +1229,10 @@ void FurnaceGUI::stop() {
|
|||
}
|
||||
updateScroll(cursor.y);
|
||||
}
|
||||
if (wasFollowing) {
|
||||
followPattern = true;
|
||||
wasFollowing = false;
|
||||
}
|
||||
}
|
||||
|
||||
void FurnaceGUI::previewNote(int refChan, int note, bool autoNote) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue