diff --git a/voxygen/src/ui/mod.rs b/voxygen/src/ui/mod.rs index 71c2d2db64..8f296d0672 100644 --- a/voxygen/src/ui/mod.rs +++ b/voxygen/src/ui/mod.rs @@ -309,7 +309,7 @@ impl Ui { } pub fn handle_event(&mut self, event: Event) { match event.0 { - Input::Resize(w, h) => self.window_resized = Some(Vec2::new(w, h)), + Input::Resize(w, h) if w > 1.0 && h > 1.0 => self.window_resized = Some(Vec2::new(w, h)), Input::Touch(touch) => self.ui.handle_event(Input::Touch(Touch { xy: self.scale.scale_point(touch.xy.into()).into_array(), ..touch