fix(jui): always use white if background is disabled in EditBox
This commit is contained in:
1 parent
d18733b14c
commit
9a2062c70a
1 file changed
+1
-1
@@ -88,7 +88,7 @@ void EditBox::render() {
|
||||
if (active) {
|
||||
bool renderUnderscore = inFocus && (frame / 6 % 2 == 0);
|
||||
drawString(font, value + (renderUnderscore ? L"_" : L""), textX, textY,
|
||||
0xe0e0e0);
|
||||
(enableBackgroundDrawing ? 0xe0e0e0 : 0xffffff));
|
||||
} else {
|
||||
drawString(font, value, textX, textY,
|
||||
(enableBackgroundDrawing ? 0xe0e0e0 : 0xffffff));
|
||||
|
||||
Reference in new issue
Block a user