Replies: 1 comment 2 replies
-
You can use the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm working on a developer console for Bevy using
bevy_egui
. And I'm experiencing an issue where the FPS goes down when there are more logs, and this is probably because I am rendering all the log messages at once, but because all the logs are rendered within aScrollArea
, only a small portion of the logs are actually shown, but all of them are still rendered, which is probably causing the lag.So my question is, how do I skip rendering the logs that aren't visible within the
ScrollArea
? (While also not shrinking the total scroll area)Link to the code that renders the logs and
ScrollArea
: https://github.com/doonv/bevy_dev_console/blob/98355f16b7d83ad0db983f2204426079780aa2ae/src/ui.rs#L184Beta Was this translation helpful? Give feedback.
All reactions