From a2abbe51971a671699faa8352f7ccb69137c1dae Mon Sep 17 00:00:00 2001 From: Hannes Janetzek Date: Wed, 4 Jun 2014 06:17:51 +0200 Subject: [PATCH] mo' fling --- vtm/src/org/oscim/layers/MapEventLayer.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vtm/src/org/oscim/layers/MapEventLayer.java b/vtm/src/org/oscim/layers/MapEventLayer.java index 1ed8c59f..d6d5eca5 100644 --- a/vtm/src/org/oscim/layers/MapEventLayer.java +++ b/vtm/src/org/oscim/layers/MapEventLayer.java @@ -409,10 +409,10 @@ public class MapEventLayer extends Layer implements InputListener, GestureListen private boolean doFling(float velocityX, float velocityY) { - int w = Tile.SIZE * 3; - int h = Tile.SIZE * 3; + int w = Tile.SIZE * 5; + int h = Tile.SIZE * 5; - mMap.animator().animateFling(velocityX, velocityY, + mMap.animator().animateFling(velocityX * 2, velocityY * 2, -w, w, -h, h); return true; }