mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Merge pull request #7643 from Robyt3/Menus-Callvote-Margin
Add small margin to callvote label
This commit is contained in:
commit
a16d8dd6c7
|
@ -554,7 +554,9 @@ bool CMenus::RenderServerControlServer(CUIRect MainView)
|
|||
if(!Item.m_Visible)
|
||||
continue;
|
||||
|
||||
UI()->DoLabel(&Item.m_Rect, pOption->m_aDescription, 13.0f, TEXTALIGN_ML);
|
||||
CUIRect Label;
|
||||
Item.m_Rect.VMargin(2.0f, &Label);
|
||||
UI()->DoLabel(&Label, pOption->m_aDescription, 13.0f, TEXTALIGN_ML);
|
||||
}
|
||||
|
||||
s_CurVoteOption = s_ListBox.DoEnd();
|
||||
|
|
Loading…
Reference in a new issue