fix build
This commit is contained in:
parent
c687099cf7
commit
3432ff0cfb
1 changed files with 1 additions and 1 deletions
|
@ -1108,7 +1108,7 @@ public class OsmandMapTileView implements IMapDownloaderCallback {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) {
|
public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) {
|
||||||
if (e2.getAction() & 255) == MotionEvent.ACTION_MOVE {
|
if ((e2.getAction() & MotionEvent.ACTION_MASK) == MotionEvent.ACTION_MOVE) {
|
||||||
dragToAnimate(e2.getX() + distanceX, e2.getY() + distanceY, e2.getX(), e2.getY(), true);
|
dragToAnimate(e2.getX() + distanceX, e2.getY() + distanceY, e2.getX(), e2.getY(), true);
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue