mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Fix demo cutting buttons with 5:4 resolutions
This commit is contained in:
parent
55bfb08c7b
commit
6b25d81938
|
@ -174,7 +174,7 @@ void CMenus::RenderDemoPlayer(CUIRect MainView)
|
||||||
|
|
||||||
MainView.HSplitBottom(TotalHeight, 0, &MainView);
|
MainView.HSplitBottom(TotalHeight, 0, &MainView);
|
||||||
MainView.VSplitLeft(50.0f, 0, &MainView);
|
MainView.VSplitLeft(50.0f, 0, &MainView);
|
||||||
MainView.VSplitRight(450.0f, &MainView, 0);
|
MainView.VSplitLeft(450.0f, &MainView, 0);
|
||||||
|
|
||||||
RenderTools()->DrawUIRect(&MainView, ms_ColorTabbarActive, CUI::CORNER_T, 10.0f);
|
RenderTools()->DrawUIRect(&MainView, ms_ColorTabbarActive, CUI::CORNER_T, 10.0f);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue