small efficiency experiment

This commit is contained in:
sonora 2016-12-31 15:55:59 +01:00
parent a357a6355c
commit 0932ea1d7d

View file

@ -1114,7 +1114,9 @@ public class OsmandMapTileView implements IMapDownloaderCallback {
@Override @Override
public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) { public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) {
if (!(multiTouchSupport.isInZoomMode()) {
dragToAnimate(e2.getX() + distanceX, e2.getY() + distanceY, e2.getX(), e2.getY(), true); dragToAnimate(e2.getX() + distanceX, e2.getY() + distanceY, e2.getX(), e2.getY(), true);
}
return true; return true;
} }