mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Fix PushStyleVar/PopStyleVar imbalance
This commit is contained in:
parent
57bc8fd6de
commit
2be10dbaa4
@ -150,7 +150,7 @@ void CConsole::BasePanel(bool* bDraw)
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////
|
||||
ImGui::PopStyleVar();
|
||||
ImGui::PopStyleVar(1);
|
||||
ImGui::EndChild();
|
||||
ImGui::Separator();
|
||||
|
||||
@ -305,7 +305,7 @@ void CConsole::SuggestPanel(void)
|
||||
|
||||
ImGui::PopAllowKeyboardFocus();
|
||||
ImGui::End();
|
||||
ImGui::PopStyleVar(1);
|
||||
ImGui::PopStyleVar(2);
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user