mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-01-08 18:33:37 +08:00
Disable player list in offline (#327)
Prevent the playerlist from being rendered if the user is not online.
This commit is contained in:
parent
26457f0d35
commit
3cdb9df2da
@ -69,6 +69,7 @@ namespace big
|
||||
|
||||
void view::players()
|
||||
{
|
||||
if (!*g_pointers->m_is_session_started) return;
|
||||
float window_pos = 110.f + g_gui_service->nav_ctr * ImGui::CalcTextSize("W").y + g_gui_service->nav_ctr * ImGui::GetStyle().ItemSpacing.y + g_gui_service->nav_ctr * ImGui::GetStyle().ItemInnerSpacing.y + ImGui::GetStyle().WindowPadding.y;
|
||||
|
||||
ImGui::SetNextWindowSize({ 300.f, 0.f });
|
||||
|
Loading…
x
Reference in New Issue
Block a user