This commit is contained in:
yuni 2024-03-18 01:23:35 +01:00
parent 03dab2bb23
commit 58aadd731d

View file

@ -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()
});