fix alignment of labels in friends list

This commit is contained in:
dobrykafe 2024-04-15 00:29:46 +02:00
parent 06f1db98e6
commit 19b19262a4

View file

@ -1479,12 +1479,11 @@ void CMenus::RenderServerbrowserFriends(CUIRect View)
Rect.HSplitTop(11.0f + 10.0f, &Rect, nullptr);
// tee
CUIRect Skin;
Rect.VSplitLeft(Rect.h, &Skin, &Rect);
Rect.VSplitLeft(2.0f, nullptr, &Rect);
if(Friend.Skin()[0] != '\0')
{
CUIRect Skin;
Rect.VSplitLeft(Rect.h, &Skin, &Rect);
Rect.VSplitLeft(2.0f, nullptr, &Rect);
const CTeeRenderInfo TeeInfo = GetTeeRenderInfo(vec2(Skin.w, Skin.h), Friend.Skin(), Friend.CustomSkinColors(), Friend.CustomSkinColorBody(), Friend.CustomSkinColorFeet());
const CAnimState *pIdleState = CAnimState::GetIdle();
vec2 OffsetToMid;