Animator easing: improvements and backwards API compatibility (#242) #246

This commit is contained in:
Emux
2016-11-21 12:42:48 +02:00
parent acde5d565d
commit 829e45224f
6 changed files with 32 additions and 13 deletions

View File

@@ -96,11 +96,11 @@ public class InputHandler implements InputProcessor {
mMap.updateMap(true);
break;
case Input.Keys.NUM_1:
mMap.animator().animateZoom(500, 0.5, 0, 0, Easing.Type.LINEAR);
mMap.animator().animateZoom(500, 0.5, 0, 0);
mMap.updateMap(false);
break;
case Input.Keys.NUM_2:
mMap.animator().animateZoom(500, 2, 0, 0, Easing.Type.LINEAR);
mMap.animator().animateZoom(500, 2, 0, 0);
mMap.updateMap(false);
break;