Skip to content
This repository has been archived by the owner on Nov 30, 2024. It is now read-only.

Commit

Permalink
Fixed resolution UI problem (melon thanks for report)
Browse files Browse the repository at this point in the history
  • Loading branch information
StormAxs committed Dec 10, 2023
1 parent 6eb4230 commit 8dd5fc9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/game/client/components/menus_ingame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -980,7 +980,7 @@ void CMenus::RenderStats(CUIRect MainView)
UI()->DoEditBox(&m_StatsPlayerInput, &SearchBox, 14.0f);

static CButtonContainer s_FetchButton;
if((DoButton_Menu(&s_FetchButton, Localize("Fetch"), 0, &FetchButton) || (Input()->KeyPress(KEY_RETURN) && m_StatsPlayerInput.IsActive())) && !m_StatsPlayerInput.IsEmpty())
if((DoButton_Menu(&s_FetchButton, Localize("Fetch(Find)"), 0, &FetchButton) || (Input()->KeyPress(KEY_RETURN) && m_StatsPlayerInput.IsActive())) && !m_StatsPlayerInput.IsEmpty())
{
m_pClient->m_Stats.FetchPlayer(&s_StatsPlayer, m_StatsPlayerInput.GetString());
}
Expand Down
4 changes: 2 additions & 2 deletions src/game/client/components/menus_start.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ void CMenus::RenderStartMenu(CUIRect MainView)
MainView.VMargin(VMargin, &Menu);
Menu.HSplitBottom(15.0f, &Menu, 0);

MainView.VSplitLeft(570.0f, &Menu, nullptr);
Menu.VSplitLeft(Menu.w / 1.49, nullptr, &Menu);
MainView.VSplitLeft(MainView.w / 2 + 115, &Menu, nullptr);
Menu.VSplitLeft(Menu.w / 1.45, nullptr, &Menu);
Menu.HSplitBottom(40.0f, &Menu, &Button);
static CButtonContainer s_QuitButton;
bool UsedEscape = false;
Expand Down

0 comments on commit 8dd5fc9

Please sign in to comment.