Closed Khhs167 closed 2 years ago
Can you show a screenshot of this behavior? Are you using anything like a different viewport or something like that while not compensating for it in ImGui?
I managed to fix it. Unsure how i did it, but I am fairly certain the fix was in GameWindow.OnResize
where I set the size with controller.WindowResized(Size.X, Size.Y);
whereas the fix was to simply to do controller.WindowResized(e.X, e.Y);
, and e
is the ResizeEventArgs passed into the function.
Thanks for the quick response and I hope anyone who has the same issue finds this useful!
The cursor has a notable offset between window position and the position ImGUI uses, any idea how to fix it?