corrections
This commit is contained in:
parent
c39b10c1b9
commit
b3400dce5e
1 changed files with 3 additions and 1 deletions
|
@ -111,9 +111,11 @@ public class MultiTouchSupport {
|
||||||
}
|
}
|
||||||
Integer pointCount = (Integer) getPointerCount.invoke(event);
|
Integer pointCount = (Integer) getPointerCount.invoke(event);
|
||||||
if(pointCount < 2){
|
if(pointCount < 2){
|
||||||
if (inZoomMode || inTiltMode) {
|
if (inZoomMode) {
|
||||||
listener.onZoomOrRotationEnded(zoomRelative, angleRelative);
|
listener.onZoomOrRotationEnded(zoomRelative, angleRelative);
|
||||||
inZoomMode = false;
|
inZoomMode = false;
|
||||||
|
return true;
|
||||||
|
} else if (inTiltMode) {
|
||||||
inTiltMode = false;
|
inTiltMode = false;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue