tweaks
This commit is contained in:
parent
03dab2bb23
commit
58aadd731d
|
@ -7,7 +7,7 @@ use std::time::SystemTime;
|
||||||
const HUD_REFRESH_TIME: f32 = 0.5;
|
const HUD_REFRESH_TIME: f32 = 0.5;
|
||||||
const FONT: &str = "tmp/fonts/NotoSansSC-Thin.ttf";
|
const FONT: &str = "tmp/fonts/NotoSansSC-Thin.ttf";
|
||||||
const LOG_MAX: usize = 5;
|
const LOG_MAX: usize = 5;
|
||||||
const LOG_MAX_TIME_S: u64 = 3;
|
const LOG_MAX_TIME_S: u64 = 10;
|
||||||
|
|
||||||
pub struct HudPlugin;
|
pub struct HudPlugin;
|
||||||
impl Plugin for HudPlugin {
|
impl Plugin for HudPlugin {
|
||||||
|
@ -164,7 +164,7 @@ fn setup(
|
||||||
}
|
}
|
||||||
),
|
),
|
||||||
]).with_style(Style {
|
]).with_style(Style {
|
||||||
top: Val::VMin(3.0),
|
top: Val::VMin(2.0),
|
||||||
left: Val::VMin(3.0),
|
left: Val::VMin(3.0),
|
||||||
..default()
|
..default()
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue