Fps color change
This commit is contained in:
parent
f5d92d89f2
commit
adb9cdbe83
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue