mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Merge pull request #8218 from dobrykafe/pr-align-friendslist
Fix alignment of labels in friends list
This commit is contained in:
commit
2e211c9a31
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue