-
-
Notifications
You must be signed in to change notification settings - Fork 10.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assertion failed in menu. #4640
Comments
Thank you for reporting this! |
Pushed a fix ba5c105. Thanks for reporting this! Which while debugging also led me on a tangent of thinking the value of |
Version/Branch of Dear ImGui:
Version: 1.84.2
Branch: master
Back-end/Renderer/Compiler/OS
Back-ends: win32 dx9
Compiler: vs2019
Operating System: Windows 10
My Issue/Question:
ImGui::FindWindowFocusIndex
IM_ASSERT(g.WindowsFocusOrder[order] == window);
window->Name: ##Menu_01
window->FocusOrder: 0
g.WindowsFocusOrder
Size: 4
[0]: Debug##Default
[1]: Hello, world!
[2]: Dear ImGui Demo
[3]: ##Menu_00
The release version doesn't crash, but it does force the 'Menu' to close.
Screenshots/Video
Standalone, minimal, complete and verifiable example:
The text was updated successfully, but these errors were encountered: