mirror of https://github.com/stella-emu/stella.git
use ellipsis in non-editable EditTextWidget
This commit is contained in:
parent
1e480796bc
commit
6943d1445f
|
@ -97,7 +97,7 @@ void EditTextWidget::drawWidget(bool hilite)
|
||||||
_changed && onTop && isEnabled()
|
_changed && onTop && isEnabled()
|
||||||
? kDbgChangedTextColor
|
? kDbgChangedTextColor
|
||||||
: onTop && isEnabled() ? _textcolor : kColor,
|
: onTop && isEnabled() ? _textcolor : kColor,
|
||||||
TextAlign::Left, -_editScrollOffset, false);
|
TextAlign::Left, isEditable() ? -_editScrollOffset : 0, !isEditable());
|
||||||
|
|
||||||
// Draw the caret
|
// Draw the caret
|
||||||
drawCaret();
|
drawCaret();
|
||||||
|
|
Loading…
Reference in New Issue