zoom limits
1 files changed, 2 insertions(+), 2 deletions(-) M crates/client/src/rendering/mod.rs
M crates/client/src/rendering/mod.rs => crates/client/src/rendering/mod.rs +2 -2
@@ 375,9 375,9 @@ impl ApplicationHandler for App { }; let delta = 1.1; if raw_delta < 0.0 { camera.zoom *= 1.0 / delta; camera.zoom = (camera.zoom * 1.0 / delta).max(0.13); } else { camera.zoom *= delta; camera.zoom = (camera.zoom * delta).min(5.0); } } WindowEvent::KeyboardInput { ref event, .. } => {