shut the key noise up

This commit is contained in:
Joe Ardent 2025-03-29 13:32:37 -07:00
parent 1daae3e5c6
commit bb3aeae0bf

View file

@ -36,19 +36,15 @@ fn update_camera_pos(mut offset: ResMut<DebugCamOffset>, mut keys: ResMut<Button
KeyCode::ArrowRight => offset.rot += 5.0,
KeyCode::ArrowUp => {
if shifted {
bevy::log::info!("up, shifted");
offset.alt += 0.5;
} else {
bevy::log::info!("up");
offset.dist -= 0.5;
}
}
KeyCode::ArrowDown => {
if shifted {
bevy::log::info!("down, shifted");
offset.alt -= 0.5;
} else {
bevy::log::info!("down");
offset.dist += 0.5;
}
}