-
-
Notifications
You must be signed in to change notification settings - Fork 11.2k
Description
Using the docking branch I tried making a dock space over the view port using the "ImGuiDockNodeFlags_PassthruCentralNode" flag but I'm having an issue, I block mouse inputs from going to the application when ImGui's "WantCaptureMouse" is set to true so the inputs won't register to both the program and the ImGui window at the same time now the problem I have is that when the mouse is right on the edge of the screen (no matter up, down, right or left edge) WantCaptureMouse gets set to "true" even tho there's no ImGui window rendering on those areas.
Here's an example:
{ ImGui::DockSpaceOverViewport(ImGui::GetMainViewport(), ImGuiDockNodeFlags_PassthruCentralNode); ImGui::Begin("Test"); ImGui::Text("Want M input: %d", ImGui::GetIO().WantCaptureMouse); ImGui::End(); }