diff --git a/crates/fj-viewer/src/input/zoom.rs b/crates/fj-viewer/src/input/zoom.rs index f4f7a0eb1..9c6e495b7 100644 --- a/crates/fj-viewer/src/input/zoom.rs +++ b/crates/fj-viewer/src/input/zoom.rs @@ -14,6 +14,6 @@ impl Zoom { let distance = (focus_point.0 - camera.position()).magnitude(); let displacement = zoom_delta * distance.into_f64(); camera.translation = camera.translation - * Transform::translation(Vector::from([0.0, 0.0, -displacement])); + * Transform::translation(Vector::from([0.0, 0.0, displacement])); } }