From 78d0f59cc1a0302e4aacc9de6080db752fa6bce9 Mon Sep 17 00:00:00 2001 From: Verox001 Date: Sun, 4 May 2025 01:22:33 +0200 Subject: [PATCH] Added updating --- simulator/src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/simulator/src/main.rs b/simulator/src/main.rs index bee04fb..4cb7c0b 100644 --- a/simulator/src/main.rs +++ b/simulator/src/main.rs @@ -46,6 +46,7 @@ impl<'a> ApplicationHandler for StateApplication<'a>{ self.state.as_mut().unwrap().resize(physical_size); } WindowEvent::RedrawRequested => { + self.state.as_mut().unwrap().update(); self.state.as_mut().unwrap().render().unwrap(); } WindowEvent::KeyboardInput { .. } => {