back out test

This commit is contained in:
sonora 2016-12-27 12:49:15 +01:00
parent fdd995624f
commit 3abe756c61

View file

@ -824,8 +824,7 @@ public class OsmandMapTileView implements IMapDownloaderCallback {
public boolean onGenericMotionEvent(MotionEvent event) {
if ((event.getSource() & InputDevice.SOURCE_CLASS_POINTER) != 0 &&
event.getAction() == MotionEvent.ACTION_SCROLL &&
event.getAxisValue(MotionEvent.AXIS_VSCROLL) != 0 &&
!multiTouchSupport.isInZoomMode()) {
event.getAxisValue(MotionEvent.AXIS_VSCROLL) != 0) {
final RotatedTileBox tb = getCurrentRotatedTileBox();
final double lat = tb.getLatFromPixel(event.getX(), event.getY());
final double lon = tb.getLonFromPixel(event.getX(), event.getY());