diff options
Diffstat (limited to 'pixel-client/src/main.rs')
-rw-r--r-- | pixel-client/src/main.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pixel-client/src/main.rs b/pixel-client/src/main.rs index 8c140fc5..b072a7e0 100644 --- a/pixel-client/src/main.rs +++ b/pixel-client/src/main.rs @@ -35,6 +35,7 @@ pub mod menu; pub mod network; pub mod render; pub mod tilemap; +pub mod ui; #[derive(Debug, Parser)] pub struct Args { @@ -113,7 +114,7 @@ fn main() { last_tick += dt; - renderer.ui_scale = Vec2::new(5., 5.); + renderer.set_ui_view(5.); match &mut state { State::Ingame(x) => x.draw(&mut renderer), State::Menu(x) => x.draw(&mut renderer), |