if (dispatch == true)
{
- configGestureCount = configGestureCount > 0 ? configGestureCount-- : 0;
+ configGestureCount = configGestureCount > 0 ? configGestureCount - 1 : 0;
if (configGestureCount == 0)
{
panGestureDetector.Detach(this);
pinchGestureDetector.Detected -= OnGestureDetected;
tapGestureDetector.Detected -= OnGestureDetected;
rotationGestureDetector.Detected -= OnGestureDetected;
-
- panGestureDetector = null;
- longGestureDetector = null;
- pinchGestureDetector = null;
- tapGestureDetector = null;
- rotationGestureDetector = null;
}
}
else