smaller fps text
This commit is contained in:
parent
a72b76a234
commit
395b0bcd3f
|
@ -25,13 +25,13 @@ fn setup(
|
||||||
"FPS: ",
|
"FPS: ",
|
||||||
TextStyle {
|
TextStyle {
|
||||||
//font: asset_server.load("fonts/FiraSans-Bold.ttf"),
|
//font: asset_server.load("fonts/FiraSans-Bold.ttf"),
|
||||||
font_size: 60.0,
|
font_size: 30.0,
|
||||||
..default()
|
..default()
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
TextSection::from_style(if cfg!(feature = "default_font") {
|
TextSection::from_style(if cfg!(feature = "default_font") {
|
||||||
TextStyle {
|
TextStyle {
|
||||||
font_size: 60.0,
|
font_size: 30.0,
|
||||||
color: Color::GOLD,
|
color: Color::GOLD,
|
||||||
..default()
|
..default()
|
||||||
}
|
}
|
||||||
|
@ -39,7 +39,7 @@ fn setup(
|
||||||
// "default_font" feature is unavailable, load a font to use instead.
|
// "default_font" feature is unavailable, load a font to use instead.
|
||||||
TextStyle {
|
TextStyle {
|
||||||
//font: asset_server.load("fonts/FiraMono-Medium.ttf"),
|
//font: asset_server.load("fonts/FiraMono-Medium.ttf"),
|
||||||
font_size: 60.0,
|
font_size: 30.0,
|
||||||
color: Color::GOLD,
|
color: Color::GOLD,
|
||||||
..default()
|
..default()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue