How to resize window dynamically when MousePassthrough set to true ? #7384
Unanswered
agkyunromb
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm adding an overlay to a game that's only meant to display information, and I want the overlay to follow the window and fully cover the game window.
However, I found that egui::ViewportCommand::InnerSize and ViewportCommand::OuterPosition seems to rely on mouse events. After I send ViewportCommand::MousePassthrough(enabled), I can no longer resize or repositon he window, nor can I disable mouse passthrough.
I wrote a simple example to confirm this behavior.
Beta Was this translation helpful? Give feedback.
All reactions