-[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.
-[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.