gdx: decrease scroll-zoom amount

This commit is contained in:
Hannes Janetzek 2014-02-17 14:34:22 +01:00
parent b006cacc89
commit deff7d2a86

View File

@ -397,12 +397,12 @@ public abstract class GdxMap implements ApplicationListener {
if (amount > 0) {
mMap.animator().animateZoom(250, 0.9f, 0, 0);
mMap.animator().animateZoom(250, 0.75f, 0, 0);
} else {
float fx = mPosX - mMap.getWidth() / 2;
float fy = mPosY - mMap.getHeight() / 2;
mMap.animator().animateZoom(250, 1.111f, fx, fy);
mMap.animator().animateZoom(250, 1.333f, fx, fy);
}
mMap.updateMap(false);