GUI: fix pattern play flicker
This commit is contained in:
parent
f9237dc69c
commit
d38ff59cb8
|
|
@ -378,7 +378,7 @@ void FurnaceGUI::drawPattern() {
|
||||||
bool inhibitMenu=false;
|
bool inhibitMenu=false;
|
||||||
|
|
||||||
if (e->isPlaying() && followPattern && (!e->isStepping() || pendingStepUpdate)) {
|
if (e->isPlaying() && followPattern && (!e->isStepping() || pendingStepUpdate)) {
|
||||||
cursor.y=e->getRow();
|
cursor.y=e->isStepping()?e->getRow():oldRow;
|
||||||
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