diff options
| author | oy <Tom_Adams@web.de> | 2011-03-17 17:48:45 +0100 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2011-03-17 17:48:45 +0100 |
| commit | 0313485d6b40510ac425f8b9341ec64e30f491c5 (patch) | |
| tree | f0a655eff6593cec8ab07efe1a6ed6cb76597c5c | |
| parent | b939d3822882c5061f5e3ddfb3fc3b13b116fe24 (diff) | |
| download | zcatch-0313485d6b40510ac425f8b9341ec64e30f491c5.tar.gz zcatch-0313485d6b40510ac425f8b9341ec64e30f491c5.zip | |
fixed that PageMenu buttons change their inactive colour ingame
| -rw-r--r-- | src/game/client/components/menus.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |