fixed that PageMenu buttons change their inactive colour ingame

This commit is contained in:
oy 2011-03-17 17:48:45 +01:00
parent b939d38228
commit 0313485d6b

View file

@ -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);