diff --git a/OsmAnd/src/net/osmand/plus/views/MultiTouchSupport.java b/OsmAnd/src/net/osmand/plus/views/MultiTouchSupport.java index fcd02b6932..1a3758bb54 100644 --- a/OsmAnd/src/net/osmand/plus/views/MultiTouchSupport.java +++ b/OsmAnd/src/net/osmand/plus/views/MultiTouchSupport.java @@ -83,16 +83,14 @@ public class MultiTouchSupport { } int actionCode = event.getAction() & ACTION_MASK; try { - if (actionCode == MotionEvent.ACTION_DOWN || actionCode == MotionEvent.ACTION_UP || actionCode == MotionEvent.ACTION_CANCEL) { - return false; - } Integer pointCount = (Integer) getPointerCount.invoke(event); if(pointCount < 2){ if(inZoomMode){ listener.onZoomOrRotationEnded(zoomRelative, angleRelative); inZoomMode = false; + return true; } - return true; + return false; } Float x1 = (Float) getX.invoke(event, 0); Float x2 = (Float) getX.invoke(event, 1);