You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to create a custom container, a sort of box, similar to the collapsing header, however, I wanted to try to utilize ImGui::TreeNodeBehaviorIsOpen to store the bool value for checking whether it's opened or not. However, it always returns false except for when I click, than returns back to being false.
I'm still trying to figure out how the CollapsingHeader method utilizes it, but when I attempt to do the same, it just doesn't work, it only works for the frame that I click it, than it goes back to being false.
Version: 1.83
Branch: docking
Back-end/Renderer/Compiler/OS
Back-ends: imgui_impl_glfw.cpp + imgui_impl_vulkan.cpp
Compiler: vs2022
Operating System: win10
My Issue/Question:
I'm trying to create a custom container, a sort of box, similar to the collapsing header, however, I wanted to try to utilize
ImGui::TreeNodeBehaviorIsOpen
to store the bool value for checking whether it's opened or not. However, it always returns false except for when I click, than returns back to being false.If you're wondering, the
s
variable being used, is just an id from a class I have, it doesn't change.The text was updated successfully, but these errors were encountered: