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, ) {
|
pub fn setup_fps_counter(mut commands: Commands, ) {
|
||||||
commands.spawn((TextBundle {
|
commands.spawn((TextBundle {
|
||||||
text: Text::from_section("FPS: 0.0", TextStyle {
|
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),
|
}).with_alignment(TextAlignment::Center),
|
||||||
style: Style {
|
style: Style {
|
||||||
position_type: PositionType::Absolute,
|
position_type: PositionType::Absolute,
|
||||||
|
Loading…
Reference in New Issue
Block a user