Detect and report error when calling End() instead of EndPopup() on a popup. (#9351)

This commit is contained in:
ocornut
2026-04-08 21:40:05 +02:00
parent 1870a779e1
commit dd17495a42
3 changed files with 8 additions and 1 deletions
+1
View File
@@ -2213,6 +2213,7 @@ struct ImGuiContext
float CurrentDpiScale; // Current window/viewport DpiScale == CurrentViewport->DpiScale
ImDrawListSharedData DrawListSharedData;
ImGuiID WithinEndChildID; // Set within EndChild()
ImGuiID WithinEndPopupID; // Set within EndPopup()
void* TestEngine; // Test engine user data
// Inputs