refactoring the fix

This commit is contained in:
thrust26 2017-12-19 16:57:47 +01:00
parent 7259af1583
commit 81cdbe832e
1 changed files with 1 additions and 3 deletions

View File

@ -182,9 +182,7 @@ void TiaOutputWidget::drawWidget(bool hilite)
s.drawPixels(myLineBuffer, _x + 1, _y + 1 + y, width << 1);
}
uInt32 beamColor = kColorInfo;
// Show electron beam position
if(visible && scanx < width && scany+2u < height)
s.fillRect(_x + 1 + (scanx<<1), _y + 1 + scany, 3, 3, beamColor);
s.fillRect(_x + 1 + (scanx<<1), _y + 1 + scany, 3, 3, kColorInfo);
}