mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 14:38:18 +00:00
fixed shape of the refresh icon in the server browser
This commit is contained in:
parent
ab5ce4a492
commit
55a3ee1b16
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue