diff --git a/OsmAnd/src/net/osmand/plus/views/RulerControlLayer.java b/OsmAnd/src/net/osmand/plus/views/RulerControlLayer.java index 529bf4a587..d5426f8038 100644 --- a/OsmAnd/src/net/osmand/plus/views/RulerControlLayer.java +++ b/OsmAnd/src/net/osmand/plus/views/RulerControlLayer.java @@ -156,7 +156,7 @@ public class RulerControlLayer extends OsmandMapLayer { if (d > acceptableTouchRadius) { touchOutside = true; } - } else if (event.getAction() == MotionEvent.ACTION_UP) { + } else if (event.getAction() == MotionEvent.ACTION_UP || event.getAction() == MotionEvent.ACTION_CANCEL) { touched = false; touchEndTime = System.currentTimeMillis(); refreshMapDelayed();