Cosmetics

This commit is contained in:
Bertrand Songis
2019-10-05 19:35:52 +02:00
parent f23021226d
commit e7773df205
2 changed files with 6 additions and 2 deletions
+3
View File
@@ -44,6 +44,9 @@ void TextEdit::paint(BitmapBuffer * dc)
const char * displayedValue = value;
LcdFlags textColor;
if (hasFocus()) {
if (strlen(value) == 0) {
displayedValue = "---";
}
textColor = FOCUS_BGCOLOR;
}
else {