-
Notifications
You must be signed in to change notification settings - Fork 263
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
Handling request_discard? #358
Comments
Hi! Sorry for the delayed response. You could try calling That's probably not an ideal way to manage that, but atm bevy_egui doesn't offer a cleaner solution (and, so far, I'm not sure how one would look like). |
Hi! No problem I'm already lucky to have this library! I'll see if I can do that. For now it was easier for me to skip using grids entirely: I'd have around 40 UI systems to move to achieve that. |
I see. You might also find |
Hi!
I'm using egui's Grids into my UI, and I've noticed that each time a new grid is rendered, there is a noticeable "glitchy" frame occuring. I've tracked this down to the fact that adding a new grid trigger a request discard:
It seems that when this is called, all rendering will stop (because the egui context switches to a special mode), causing the "glitchy" frame. I'm not sure on how this could be handled because all rendering happens in systems and we can't just re-run them. Would it be possible in that case to re-use the rendering from the previous frame?
Here's how it looks:
The text was updated successfully, but these errors were encountered: