From d681cc678767ef1218921255865acf6e941c1871 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D1=8F=D0=B4=D1=8F=20=D0=96=D0=B5=D0=BD=D1=8F?= Date: Fri, 30 Oct 2020 06:40:15 +0300 Subject: [PATCH] Rcon Panel looks just like before in call vote --- src/game/client/components/menus_ingame.cpp | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/game/client/components/menus_ingame.cpp b/src/game/client/components/menus_ingame.cpp index 9c0f64d13..298dbd206 100644 --- a/src/game/client/components/menus_ingame.cpp +++ b/src/game/client/components/menus_ingame.cpp @@ -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);