mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-10-30 08:01:01 +00:00
Fixed black text when selecting text in chat
This commit is contained in:
parent
e16e2b4d5c
commit
6c48a5c115
1 changed files with 5 additions and 1 deletions
|
|
@ -694,7 +694,11 @@ static bool djui_inputbox_render(struct DjuiBase* base) {
|
||||||
if (insideSelection && !wasInsideSelection) {
|
if (insideSelection && !wasInsideSelection) {
|
||||||
gDPSetEnvColor(gDisplayListHead++, 255, 255, 255, 255);
|
gDPSetEnvColor(gDisplayListHead++, 255, 255, 255, 255);
|
||||||
} else if (!insideSelection && wasInsideSelection) {
|
} else if (!insideSelection && wasInsideSelection) {
|
||||||
gDPSetEnvColor(gDisplayListHead++, inputbox->textColor.r, inputbox->textColor.g, inputbox->textColor.b, inputbox->textColor.a);
|
if (isChatInput) {
|
||||||
|
gDPSetEnvColor(gDisplayListHead++, 255, 255, 255, 255);
|
||||||
|
} else {
|
||||||
|
gDPSetEnvColor(gDisplayListHead++, inputbox->textColor.r, inputbox->textColor.g, inputbox->textColor.b, inputbox->textColor.a);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
wasInsideSelection = insideSelection;
|
wasInsideSelection = insideSelection;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue