mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-20 06:58:20 +00:00
Rcon Panel looks just like before in call vote
This commit is contained in:
parent
15f5ec9297
commit
d681cc6787
|
@ -616,14 +616,7 @@ void CMenus::RenderServerControl(CUIRect MainView)
|
|||
MainView.Margin(10.0f, &MainView);
|
||||
|
||||
if(Client()->RconAuthed())
|
||||
{
|
||||
MainView.HSplitBottom(90.0f, &MainView, &RconExtension);
|
||||
|
||||
// background
|
||||
RconExtension.Margin(10.0f, &RconExtension);
|
||||
RconExtension.HSplitTop(20.0f, &Bottom, &RconExtension);
|
||||
RconExtension.HSplitTop(5.0f, 0, &RconExtension);
|
||||
}
|
||||
|
||||
// tab bar
|
||||
{
|
||||
|
@ -731,6 +724,11 @@ void CMenus::RenderServerControl(CUIRect MainView)
|
|||
// extended features (only available when authed in rcon)
|
||||
if(Client()->RconAuthed())
|
||||
{
|
||||
// background
|
||||
RconExtension.Margin(10.0f, &RconExtension);
|
||||
RconExtension.HSplitTop(20.0f, &Bottom, &RconExtension);
|
||||
RconExtension.HSplitTop(5.0f, 0, &RconExtension);
|
||||
|
||||
// force vote
|
||||
Bottom.VSplitLeft(5.0f, 0, &Bottom);
|
||||
Bottom.VSplitLeft(120.0f, &Button, &Bottom);
|
||||
|
|
Loading…
Reference in a new issue