Fix incorrect ImGui code (#1546)

* Add missing ImGui.EndTabBar

* Add more ImGui fixes
This commit is contained in:
Sirius902 2023-11-26 14:04:38 -08:00 committed by GitHub
parent 7a0de45f87
commit 473e24301d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 99 additions and 95 deletions

View file

@ -44,7 +44,8 @@ internal class PluginStatWindow : Window
{
var pluginManager = Service<PluginManager>.Get();
ImGui.BeginTabBar("Stat Tabs");
if (!ImGui.BeginTabBar("Stat Tabs"))
return;
if (ImGui.BeginTabItem("Draw times"))
{