fix animations, fix SlotMap dirty widget panic, set gui scale, set dash to 1080p

[skip ci]
This commit is contained in:
Aleksander
2025-12-26 15:02:08 +01:00
parent dead3f417c
commit 1364a5cb2e
12 changed files with 37 additions and 110 deletions

View File

@@ -18,13 +18,14 @@ pub struct Timestep {
}
impl Timestep {
pub fn new() -> Self {
pub fn new(ticks_per_second: f32) -> Self {
let mut timestep = Self {
speed: 1.0,
..Default::default()
};
timestep.reset();
timestep.set_tps(ticks_per_second);
timestep
}