Fix Magpie monotonic delta-time bug

This commit is contained in:
mars 2022-11-04 21:56:41 -06:00
parent 7294c0402c
commit 4798d43f6c
1 changed files with 1 additions and 0 deletions

View File

@ -59,6 +59,7 @@ impl Window {
let now = Instant::now();
let dt = now.duration_since(self.last_update).as_secs_f32();
self.panel.update(dt);
self.last_update = now;
}
pub fn draw(&mut self) {