mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 22:48:18 +00:00
moved the connect button in the server browser, so it doesn't overlap with the ingame disconnect button. Closes #1389
This commit is contained in:
parent
373f98ea3d
commit
76aaf258d2
|
@ -1645,6 +1645,7 @@ void CMenus::RenderServerbrowser(CUIRect MainView)
|
||||||
float Spacing = 3.0f;
|
float Spacing = 3.0f;
|
||||||
float ButtonWidth = (MainView.w/6.0f)-(Spacing*5.0)/6.0f;
|
float ButtonWidth = (MainView.w/6.0f)-(Spacing*5.0)/6.0f;
|
||||||
|
|
||||||
|
MainView.VSplitRight(ButtonWidth+Spacing, &MainView, 0);
|
||||||
MainView.HSplitBottom(60.0f, 0, &BottomBox);
|
MainView.HSplitBottom(60.0f, 0, &BottomBox);
|
||||||
BottomBox.VSplitRight(ButtonWidth*2.0f+Spacing, 0, &BottomBox);
|
BottomBox.VSplitRight(ButtonWidth*2.0f+Spacing, 0, &BottomBox);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue