Open SuperWangKai opened 11 months ago
Another question is how to make a modal on top of others.
In the ImGui demo code, modal on top of another modal (Add another modal..
) is demonstrated, however, in a more practical situation, like my exit confirmation popup, I could not embed it within other modals. How to make sure that the exit modal is always top most?
Thanks!
Version/Branch of Dear ImGui:
Version: XXX Branch: XXX (master/viewport/docking/etc.)
Back-end/Renderer/Compiler/OS
My Issue/Question:
For the docking branch, platform windows are on top of the main window. When we use modal, the platform window can cover and block the modal. This could totally block any user interaction. In my case, the modal window is used to confirm exit and it is always centered in the main window, in this case, if it is covered by any platform window, user cannot click on the buttons, causing an unusable situation.
Screenshots/Video