libGDX level zoom with keys, fixes #154
This commit is contained in:
parent
b18dae5bef
commit
33b68fd0d6
@ -96,9 +96,11 @@ public class InputHandler implements InputProcessor {
|
||||
break;
|
||||
case Input.Keys.NUM_1:
|
||||
mMap.animator().animateZoom(500, 0.5, 0, 0);
|
||||
mMap.updateMap(false);
|
||||
break;
|
||||
case Input.Keys.NUM_2:
|
||||
mMap.animator().animateZoom(500, 2, 0, 0);
|
||||
mMap.updateMap(false);
|
||||
break;
|
||||
|
||||
case Input.Keys.D:
|
||||
|
Loading…
x
Reference in New Issue
Block a user