From deff7d2a861cc5c13baec945d807c7d1b7575cbc Mon Sep 17 00:00:00 2001 From: Hannes Janetzek Date: Mon, 17 Feb 2014 14:34:22 +0100 Subject: [PATCH] gdx: decrease scroll-zoom amount --- vtm-gdx/src/org/oscim/gdx/GdxMap.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vtm-gdx/src/org/oscim/gdx/GdxMap.java b/vtm-gdx/src/org/oscim/gdx/GdxMap.java index d7f487dc..fbdec9e8 100644 --- a/vtm-gdx/src/org/oscim/gdx/GdxMap.java +++ b/vtm-gdx/src/org/oscim/gdx/GdxMap.java @@ -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);