mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
fixed that PageMenu buttons change their inactive colour ingame
This commit is contained in:
parent
b939d38228
commit
0313485d6b
|
@ -117,7 +117,7 @@ int CMenus::DoButton_PageMenu(const void *pID, const char *pText, int Checked, b
|
|||
if(Active)
|
||||
RenderTools()->DrawUIRect(pRect, vec4(1,1,1,0.5f)*ButtonColorMul(pID), Corners, 10.0f);
|
||||
else
|
||||
RenderTools()->DrawUIRect(pRect, ms_ColorTabbarInactive, Corners, 10.0f);
|
||||
RenderTools()->DrawUIRect(pRect, vec4(0.0f, 0.0f, 0.0f, 0.25f), Corners, 10.0f);
|
||||
UI()->DoLabel(pRect, pText, pRect->h*ms_FontmodHeight, 0);
|
||||
|
||||
return UI()->DoButtonLogic(pID, pText, Checked, pRect);
|
||||
|
|
Loading…
Reference in a new issue