Putting two script made Imgui menus on the same tab causes Imgui to flicker every other frame, and soft locks input from other Imgui frames (such as console, debug etc)
Before combining:
After:
Code:
void onRender(CRules@ this) {
if (!ImGui::Begin("Hello")) {
ImGui::End();
return;
}
ImGui::End();
if (!ImGui::Begin("World")) {
ImGui::End();
return;
}
ImGui::End();
}
Putting two script made Imgui menus on the same tab causes Imgui to flicker every other frame, and soft locks input from other Imgui frames (such as console, debug etc)
Before combining:
After:
Code: