mirror of https://github.com/stella-emu/stella.git
fixed warning in EditTextWidget
This commit is contained in:
parent
916cf17b80
commit
5614fb0e76
|
@ -86,10 +86,7 @@ void EditTextWidget::drawWidget(bool hilite)
|
|||
if(_changed)
|
||||
s.fillRect(_x, _y, _w, _h, kDbgChangedColor);
|
||||
else if(!isEditable())
|
||||
{
|
||||
bool onTop = _boss->dialog().isOnTop();
|
||||
s.fillRect(_x, _y, _w, _h, onTop ? kDlgColor : kBGColorLo);
|
||||
}
|
||||
|
||||
// Draw a thin frame around us.
|
||||
s.frameRect(_x, _y, _w, _h, hilite && isEditable() && isEnabled() ? kWidColorHi : kColor);
|
||||
|
|
Loading…
Reference in New Issue