mirror of
https://github.com/OMGeeky/logisim.git
synced 2026-01-23 10:28:52 +01:00
fix warnings
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user