From 395b0bcd3f72b4f5dc871aa44ba4190cff11dc7d Mon Sep 17 00:00:00 2001 From: hut Date: Sun, 17 Mar 2024 15:34:47 +0100 Subject: [PATCH] smaller fps text --- src/hud.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/hud.rs b/src/hud.rs index 8fabc71..2d1f037 100644 --- a/src/hud.rs +++ b/src/hud.rs @@ -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() }