gui2/text_box: Re-do borders for all states
This makes it so all states of the text box widget have borders again. The colours are changed, however, so that the focused state has the brightest border. This turned out to be necessary because otherwise the chat input textbox in the MP lobby completely blends with the chat log box, making it seem as though it disappears whenever it doesn't have the keyboard focus. [ci skip]
This commit is contained in:
parent
1c5a044078
commit
af60f10391
1 changed files with 3 additions and 3 deletions
|
@ -157,7 +157,7 @@
|
|||
|
||||
{BACKGROUND_ENABLED}
|
||||
|
||||
#{_GUI_DRAW_BORDER ({GUI__BORDER_COLOR_DARK}) }
|
||||
{_GUI_DRAW_BORDER ({GUI__BORDER_COLOR_DARK}) }
|
||||
|
||||
{_GUI_DRAW_TEXT_OR_HINT ({FONT_SIZE}) ({GUI__FONT_COLOR_ENABLED__DEFAULT}) }
|
||||
|
||||
|
@ -185,7 +185,7 @@
|
|||
|
||||
{BACKGROUND_ENABLED}
|
||||
|
||||
{_GUI_DRAW_BORDER ({GUI__BORDER_COLOR}) }
|
||||
{_GUI_DRAW_BORDER ({GUI__BORDER_COLOR_BRIGHT}) }
|
||||
|
||||
# We never draw the hint text or image if focused
|
||||
{_GUI_DRAW_TEXT ({FONT_SIZE}) ({GUI__FONT_COLOR_ENABLED__DEFAULT}) }
|
||||
|
@ -202,7 +202,7 @@
|
|||
|
||||
{BACKGROUND_ENABLED}
|
||||
|
||||
{_GUI_DRAW_BORDER ({GUI__BORDER_COLOR_DARK}) }
|
||||
{_GUI_DRAW_BORDER ({GUI__BORDER_COLOR}) }
|
||||
|
||||
{_GUI_DRAW_TEXT_OR_HINT ({FONT_SIZE}) ({GUI__FONT_COLOR_ENABLED__DEFAULT}) }
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue