mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Menus: only adjust text box size for menu options
- Fixes this applying to FOCUS LOST etc where it may be
not use menu font.
partially revert 700df854dc
This commit is contained in:
parent
2971149080
commit
73718478c9
1 changed files with 2 additions and 2 deletions
|
|
@ -1364,7 +1364,7 @@ void M_DrawHorizontalMenu(void)
|
|||
void M_DrawTextBox(INT32 x, INT32 y, INT32 width, INT32 boxlines)
|
||||
{
|
||||
// Solid color textbox.
|
||||
V_DrawFill(x+5, y+5, width*7+6, boxlines*9+6, 159);
|
||||
V_DrawFill(x+5, y+5, width*8+6, boxlines*8+6, 159);
|
||||
//V_DrawFill(x+8, y+8, width*8, boxlines*8, 31);
|
||||
}
|
||||
|
||||
|
|
@ -4407,7 +4407,7 @@ box_found:
|
|||
if (opening)
|
||||
y += LINEHEIGHT;
|
||||
else
|
||||
M_DrawTextBox(x, y, MAXSTRINGLENGTH, 1);
|
||||
V_DrawFill(x+5, y+5, MAXSTRINGLENGTH*7+6, 9+6, 159);
|
||||
}
|
||||
|
||||
if (opening)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue