shut the key noise up
This commit is contained in:
parent
1daae3e5c6
commit
bb3aeae0bf
1 changed files with 0 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue