smaller fps text

This commit is contained in:
yuni 2024-03-17 15:34:47 +01:00
parent a72b76a234
commit 395b0bcd3f

View file

@ -25,13 +25,13 @@ fn setup(
"FPS: ",
TextStyle {
//font: asset_server.load("fonts/FiraSans-Bold.ttf"),
font_size: 60.0,
font_size: 30.0,
..default()
},
),
TextSection::from_style(if cfg!(feature = "default_font") {
TextStyle {
font_size: 60.0,
font_size: 30.0,
color: Color::GOLD,
..default()
}
@ -39,7 +39,7 @@ fn setup(
// "default_font" feature is unavailable, load a font to use instead.
TextStyle {
//font: asset_server.load("fonts/FiraMono-Medium.ttf"),
font_size: 60.0,
font_size: 30.0,
color: Color::GOLD,
..default()
}