Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
aevyrie committed Dec 26, 2023
1 parent 23ec424 commit 7077d68
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cam_component.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ impl EditorCam {
cam_transform: &mut Transform,
projection: &mut Projection,
) {
let (anchor, orbit, pan, zoom) = match &mut self.motion {
let (anchor, _orbit, pan, zoom) = match &mut self.motion {
Motion::Inactive { ref mut velocity } => {
velocity.decay(self.momentum);
match velocity {
Expand Down
2 changes: 1 addition & 1 deletion src/input.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use bevy_picking_core::pointer::{
InputMove, PointerId, PointerInteraction, PointerLocation, PointerMap,
};

use crate::prelude::{EditorCam, MotionKind, Smoothness};
use crate::prelude::{EditorCam, MotionKind};

pub fn default_camera_inputs(
pointers: Query<(&PointerId, &PointerLocation)>,
Expand Down

0 comments on commit 7077d68

Please sign in to comment.