Fps color change

This commit is contained in:
Franklin 2023-11-08 13:12:56 -04:00
parent f5d92d89f2
commit adb9cdbe83

View File

@ -16,7 +16,7 @@ impl FpsCounterMarker {
pub fn setup_fps_counter(mut commands: Commands, ) {
commands.spawn((TextBundle {
text: Text::from_section("FPS: 0.0", TextStyle {
font_size: 18.0, ..Default::default()
font_size: 18.0, color: Color::GREEN, ..Default::default()
}).with_alignment(TextAlignment::Center),
style: Style {
position_type: PositionType::Absolute,