Skip to content
This repository has been archived by the owner on May 5, 2021. It is now read-only.

Commit

Permalink
Merge branch 'master' of github.com:xamarin/SignaturePad
Browse files Browse the repository at this point in the history
  • Loading branch information
mattleibow committed Jun 28, 2017
2 parents c96af84 + 9dfae04 commit 86121b5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/SignaturePad.iOS/InkPresenter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ private void Initialize ()
{
Opaque = false;
}

// If you put SignaturePad inside a ScrollView, this line of code prevent that the gesture inside
// an InkPresenter are dispatched to the ScrollView below
public override bool GestureRecognizerShouldBegin(UIGestureRecognizer gestureRecognizer) => false;

public override void TouchesBegan (NSSet touches, UIEvent evt)
{
Expand Down

0 comments on commit 86121b5

Please sign in to comment.