From 58aadd731d30f199b9d3af341ef0ccf32ade68c3 Mon Sep 17 00:00:00 2001 From: hut Date: Mon, 18 Mar 2024 01:23:35 +0100 Subject: [PATCH] tweaks --- src/hud.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hud.rs b/src/hud.rs index 4bd5a4f..ee60291 100644 --- a/src/hud.rs +++ b/src/hud.rs @@ -7,7 +7,7 @@ use std::time::SystemTime; const HUD_REFRESH_TIME: f32 = 0.5; const FONT: &str = "tmp/fonts/NotoSansSC-Thin.ttf"; const LOG_MAX: usize = 5; -const LOG_MAX_TIME_S: u64 = 3; +const LOG_MAX_TIME_S: u64 = 10; pub struct HudPlugin; impl Plugin for HudPlugin { @@ -164,7 +164,7 @@ fn setup( } ), ]).with_style(Style { - top: Val::VMin(3.0), + top: Val::VMin(2.0), left: Val::VMin(3.0), ..default() });