Add small improvements to "draw a line between the fingers without moving the map"

This commit is contained in:
Alexander Sytnyk 2017-06-16 18:05:20 +03:00
parent 11e1fab9fe
commit bfbb048b8e

View file

@ -1034,6 +1034,10 @@ public class OsmandMapTileView implements IMapDownloaderCallback {
this.x2 = x2; this.x2 = x2;
this.y2 = y2; this.y2 = y2;
if (x1 != x2 && y1 != y2) { if (x1 != x2 && y1 != y2) {
firstTouchPointX = x1;
firstTouchPointY = y1;
secondTouchPointX = x2;
secondTouchPointY = y2;
multiTouch = true; multiTouch = true;
} }
} }