-
Notifications
You must be signed in to change notification settings - Fork 243
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash when minimising the "Window" widget #15
Comments
Hi @stephanbuys! Thanks for creating the issue. Yeah, I was able to reproduce it while working on the 0.4.0 release as well. I believe that Egui started sending If you'd like to investigate this deeper and probably report this problem in the Egui repo, I'd appreciate this. But anyway, I was going to do that myself at the weekend. |
Ok, so I "patched" the file to see if I could do a hotfix as follows (https://github.com/mvlabat/bevy_egui/blob/main/src/egui_node.rs#L313) This "patch" fixes the crash.
So as a total newbie just playing this through my mind logically I think it would be impossible to render something of zero height or width, so I would suggest that if a |
I've just released the 0.4.1 version with the fix. Thanks for the contribution! |
Hi,
When I run the
ui.rs
example and I "minimize" the "Window" widget I consistently get the following crash ( https://github.com/mvlabat/bevy_egui/blob/main/examples/ui.rs#L110):The text was updated successfully, but these errors were encountered: