Version/Branch of Dear ImGui:
Version: 1.88
Branch: docking (based on 9cd9c2e)
Back-end/Renderer/Compiler/OS
Back-ends: Custom
Operating System / Platform: PS4/PS5
My Issue/Question:
On console platforms (testing on PS4/PS5), pressing Square to toggle between the Main and Menu navigation layers does not work. Instead, it stays on the Main layer and can't swap to the Menu layer. After looking into it, I found that NavLayersActiveMaskNext is reset after RenderWindowTitleBarContents is called (collapse button) which clears the ImGuiNavLayer_Menu flag. My solution was to just move the below code (in the screenshot) to before RenderWindowTitleBarContents and it worked again.
Screenshots/Video
