slower map zoom
This commit is contained in:
parent
d0acc6988f
commit
61986d2f43
|
@ -161,10 +161,10 @@ pub fn update_map_camera(
|
|||
}
|
||||
let mut change_zoom = 0.0;
|
||||
if keyboard_input.pressed(settings.key_map_zoom_out) {
|
||||
change_zoom += 1.0;
|
||||
change_zoom += 0.5;
|
||||
}
|
||||
if keyboard_input.pressed(settings.key_map_zoom_in) {
|
||||
change_zoom -= 1.0;
|
||||
change_zoom -= 0.5;
|
||||
}
|
||||
for wheel_event in er_mousewheel.read() {
|
||||
change_zoom -= wheel_event.y * 3.0;
|
||||
|
|
Loading…
Reference in a new issue