diff --git a/src/camera.rs b/src/camera.rs index 27d19c8..66e6a81 100644 --- a/src/camera.rs +++ b/src/camera.rs @@ -397,7 +397,7 @@ pub fn update_map_camera( } mapcam.target_zoom_level = (mapcam.target_zoom_level * 1.1f64.powf(change_zoom)).clamp(min_zoom, max_zoom); - let zoom_speed = 0.05; // should be between 0.0001 (slow) and 1.0 (instant) + let zoom_speed = 0.50; // should be between 0.0001 (slow) and 1.0 (instant) mapcam.zoom_level = (zoom_speed * mapcam.target_zoom_level + (1.0 - zoom_speed) * mapcam.zoom_level) .clamp(min_zoom, max_zoom);