tougher / Brushes

Painting app for the iPhone and iPad.
Mozilla Public License 2.0
37 stars 22 forks source link

WDFreehandTool and UITapGestureRecognizer issue #55

Open hezhk3 opened 4 years ago

hezhk3 commented 4 years ago

-[WDFreehandTool gestureBegan:] assumes the gesture to be a WDPanGesture. However in -[WDCanvas oneTap:], if -[WDCanvas canSendTouchToActiveTool] is YES(if you set the bool value of userdefaults in app settings page), -[WDFreehandTool gestureBegan:] will be called with a UITapGestureRecognizer, which leads to a crash.

IMG_3B99287E8C2E-1