Skip to content

Commit

Permalink
fix:Stop intercepting touch input when UserDisableTouchCapture
Browse files Browse the repository at this point in the history
  • Loading branch information
TransposonY committed Apr 29, 2015
1 parent a957685 commit b281867
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion GestureSignDaemon/Input/TouchCapture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -351,10 +351,13 @@ public void ToggleUserDisableTouchCapture()
if (State == CaptureState.UserDisabled)
{
State = CaptureState.Ready;
}
else
{
State = CaptureState.UserDisabled;
if (OnInterceptTouchInputChange != null)
OnInterceptTouchInputChange(this, false);
}
else State = CaptureState.UserDisabled;
OnStateChanged(new StateChangedEventArgs(State));

}
Expand Down

0 comments on commit b281867

Please sign in to comment.