test blocking genericMotion while zooming
This commit is contained in:
parent
2fdebdc2d8
commit
badaf7346d
1 changed files with 2 additions and 1 deletions
|
@ -824,7 +824,8 @@ 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) {
|
||||
event.getAxisValue(MotionEvent.AXIS_VSCROLL) != 0 &&
|
||||
!multiTouchSupport.isInZoomMode()) {
|
||||
final RotatedTileBox tb = getCurrentRotatedTileBox();
|
||||
final double lat = tb.getLatFromPixel(event.getX(), event.getY());
|
||||
final double lon = tb.getLonFromPixel(event.getX(), event.getY());
|
||||
|
|
Loading…
Reference in a new issue