GUI: better selection cursor tracking during playb
This commit is contained in:
parent
5a0a9db9c3
commit
992d61661b
|
@ -320,7 +320,13 @@ void FurnaceGUI::drawPattern() {
|
|||
bool inhibitMenu=false;
|
||||
float scrollX=0;
|
||||
|
||||
if (e->isPlaying() && followPattern && (!e->isStepping() || pendingStepUpdate)) cursor.y=oldRow+((pendingStepUpdate)?1:0);
|
||||
if (e->isPlaying() && followPattern && (!e->isStepping() || pendingStepUpdate)) {
|
||||
cursor.y=oldRow+((pendingStepUpdate)?1:0);
|
||||
if (selStart.xCoarse==selEnd.xCoarse && selStart.xFine==selEnd.xFine && selStart.y==selEnd.y && !selecting) {
|
||||
selStart=cursor;
|
||||
selEnd=cursor;
|
||||
}
|
||||
}
|
||||
demandX=0;
|
||||
sel1=selStart;
|
||||
sel2=selEnd;
|
||||
|
|
Loading…
Reference in New Issue