mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 14:38:18 +00:00
Merge pull request #1778 from Dune-jr/fix-buttonorder
Move 'Show user IDs' option up to keep consistency
This commit is contained in:
commit
c0bf3f6fa6
|
@ -991,18 +991,18 @@ void CMenus::RenderSettingsGeneral(CUIRect MainView)
|
|||
if(DoButton_CheckBox(&s_Showhud, Localize("Show ingame HUD"), g_Config.m_ClShowhud, &Button))
|
||||
g_Config.m_ClShowhud ^= 1;
|
||||
|
||||
GameRight.HSplitTop(Spacing, 0, &GameRight);
|
||||
GameRight.HSplitTop(ButtonHeight, &Button, &GameRight);
|
||||
static int s_Showsocial = 0;
|
||||
if(DoButton_CheckBox(&s_Showsocial, Localize("Show social"), g_Config.m_ClShowsocial, &Button))
|
||||
g_Config.m_ClShowsocial ^= 1;
|
||||
|
||||
GameRight.HSplitTop(Spacing, 0, &GameRight);
|
||||
GameRight.HSplitTop(ButtonHeight, &Button, &GameRight);
|
||||
static int s_ShowUserId = 0;
|
||||
if(DoButton_CheckBox(&s_ShowUserId, Localize("Show user IDs"), g_Config.m_ClShowUserId, &Button))
|
||||
g_Config.m_ClShowUserId ^= 1;
|
||||
|
||||
GameRight.HSplitTop(Spacing, 0, &GameRight);
|
||||
GameRight.HSplitTop(ButtonHeight, &Button, &GameRight);
|
||||
static int s_Showsocial = 0;
|
||||
if(DoButton_CheckBox(&s_Showsocial, Localize("Show social"), g_Config.m_ClShowsocial, &Button))
|
||||
g_Config.m_ClShowsocial ^= 1;
|
||||
|
||||
// show chat messages button
|
||||
if(g_Config.m_ClShowsocial)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue