From 0313485d6b40510ac425f8b9341ec64e30f491c5 Mon Sep 17 00:00:00 2001 From: oy Date: Thu, 17 Mar 2011 17:48:45 +0100 Subject: fixed that PageMenu buttons change their inactive colour ingame --- src/game/client/components/menus.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/game/client/components/menus.cpp b/src/game/client/components/menus.cpp index 5a48ab9d..415ff646 100644 --- a/src/game/client/components/menus.cpp +++ b/src/game/client/components/menus.cpp @@ -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); -- cgit 1.4.1