test passing events to all laysers
This commit is contained in:
parent
c2cc5c6696
commit
eb68f86644
1 changed files with 2 additions and 2 deletions
|
@ -857,11 +857,11 @@ public class OsmandMapTileView implements IMapDownloaderCallback {
|
|||
}
|
||||
final boolean isMultiTouch = multiTouchSupport.onTouchEvent(event);
|
||||
doubleTapScaleDetector.onTouchEvent(event);
|
||||
if (!isMultiTouch && !doubleTapScaleDetector.isInZoomMode()) {
|
||||
//if (!isMultiTouch && !doubleTapScaleDetector.isInZoomMode()) {
|
||||
for (int i = layers.size() - 1; i >= 0; i--) {
|
||||
layers.get(i).onTouchEvent(event, getCurrentRotatedTileBox());
|
||||
}
|
||||
}
|
||||
//}
|
||||
gestureDetector.onTouchEvent(event);
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue