mirror of
https://github.com/bevyengine/bevy
synced 2024-11-30 00:20:20 +00:00
4d0d070059
# Objective - Currently the fps_overlay affects any other ui node spawned. This should not happen ## Solution - Use position absolute and a ZIndex of `i32::MAX - 32` - I also modified the example a little bit to center it correctly. It only worked previously because the overlay was pushing it down. I also took the opportunity to simplify the text spawning code a little bit. |
||
---|---|---|
.. | ||
fps_overlay.rs |