better global state structure?

This commit is contained in:
iris committed 2025-12-19 21:54:48 -05:00
1 parent 30bc55c78e
commit bae17235c6
23 files changed
+335 -230

No files matched your search

+1 -1
View File
@@ -66,7 +66,7 @@ impl Input {
}
}
impl UiState {
impl DefaultUiState {
pub fn window_size(&self) -> Vec2 {
let size = self.renderer.window().inner_size();
(size.width, size.height).into()