Skip to content

Commit

Permalink
Disabled the support for multi touch gestures
Browse files Browse the repository at this point in the history
Is not supported currently
  • Loading branch information
Andreas Kompanez committed Aug 3, 2015
1 parent 380e997 commit e505b8f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Pod/Classes/LVSmoothLineView.m
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit e505b8f

Please sign in to comment.