mirror of
https://github.com/ocornut/imgui.git
synced 2025-02-19 12:05:44 +01:00
Fixed using IsItemHovered() after EndChild() (#151)
This commit is contained in:
parent
9c486ce4f4
commit
eaab61f08b
@ -2571,6 +2571,10 @@ void ImGui::EndChild()
|
||||
sz.y = 0;
|
||||
|
||||
ImGui::End();
|
||||
|
||||
window = GetCurrentWindow();
|
||||
ImGuiAabb bb(window->DC.CursorPos, window->DC.CursorPos + sz);
|
||||
ItemAdd(bb, NULL);
|
||||
ItemSize(sz);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user