fixed shape of the refresh icon in the server browser

This commit is contained in:
oy 2012-08-03 19:10:23 +02:00
parent ab5ce4a492
commit 55a3ee1b16

View file

@ -244,7 +244,7 @@ int CMenus::DoButton_GridHeaderIcon(const void *pID, int ImageID, int SpriteID,
CUIRect Image;
pRect->HMargin(2.0f, &Image);
pRect->VMargin(pRect->w/2.0f-Image.h, &Image);
pRect->VMargin((Image.w-Image.h)/2.0f, &Image);
Graphics()->TextureSet(g_pData->m_aImages[ImageID].m_Id);
Graphics()->QuadsBegin();