From e505b8fc087094cf5535185d184aa1523dc01f74 Mon Sep 17 00:00:00 2001 From: Andreas Kompanez Date: Mon, 3 Aug 2015 17:13:37 +0200 Subject: [PATCH] Disabled the support for multi touch gestures Is not supported currently --- Pod/Classes/LVSmoothLineView.m | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Pod/Classes/LVSmoothLineView.m b/Pod/Classes/LVSmoothLineView.m index 37edd3a..5b4350f 100644 --- a/Pod/Classes/LVSmoothLineView.m +++ b/Pod/Classes/LVSmoothLineView.m @@ -138,6 +138,10 @@ - (void)drawRect:(CGRect)rect - (void)drawGestureRecognized:(ENDDrawGestureRecognizer *)recognizer { NSSet *touches = recognizer.touches; + // No support for multi touch gestures + if (recognizer.numberOfTouches > 1) { + return; + } if (recognizer.state == UIGestureRecognizerStateBegan) { [self drawOperationBegan:touches];