fix warnings

This commit is contained in:
OMGeeky
2025-04-14 19:51:51 +02:00
parent 26571dabd0
commit 830bfe1c64
2 changed files with 3 additions and 4 deletions

View File

@@ -66,7 +66,7 @@ mod camera {
}
fn handle_pan(
mut camera: Single<(&mut Transform), With<Camera2d>>,
mut camera: Single<&mut Transform, With<Camera2d>>,
move_event: Res<AccumulatedMouseMotion>,
) {
camera.translation.x -= move_event.delta.x;