Skip to content

Commit

Permalink
Cranky fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
urholaukkarinen committed Apr 7, 2024
1 parent 52139cd commit 89f8eef
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/transform-gizmo/src/gizmo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ impl Gizmo {
self.update_translation(delta, transform, start_transform)
}
GizmoResult::Scale { total } => {
self.update_scale(transform, start_transform, total)
Self::update_scale(transform, start_transform, total)
}
GizmoResult::Arcball { delta, total: _ } => {
self.update_rotation_quat(transform, delta.into())
Expand Down Expand Up @@ -304,7 +304,6 @@ impl Gizmo {
}

fn update_scale(
&self,
transform: &Transform,
start_transform: &Transform,
scale: mint::Vector3<f64>,
Expand Down

0 comments on commit 89f8eef

Please sign in to comment.