corrections

This commit is contained in:
veliymolfar 2020-01-14 17:47:55 +02:00
parent c39b10c1b9
commit b3400dce5e

View file

@ -111,9 +111,11 @@ public class MultiTouchSupport {
}
Integer pointCount = (Integer) getPointerCount.invoke(event);
if(pointCount < 2){
if (inZoomMode || inTiltMode) {
if (inZoomMode) {
listener.onZoomOrRotationEnded(zoomRelative, angleRelative);
inZoomMode = false;
return true;
} else if (inTiltMode) {
inTiltMode = false;
return true;
}