gdx: decrease scroll-zoom amount
This commit is contained in:
parent
b006cacc89
commit
deff7d2a86
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user