Skip to content

Commit

Permalink
Reduce gesture start time
Browse files Browse the repository at this point in the history
  • Loading branch information
muinmomin committed Aug 28, 2020
1 parent 3ea59bc commit 3fe5fb4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/Charts/Charts/BarLineChartViewBase.swift
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ open class BarLineChartViewBase: ChartViewBase, BarLineScatterCandleBubbleChartD
_doubleTapGestureRecognizer = NSUITapGestureRecognizer(target: self, action: #selector(doubleTapGestureRecognized(_:)))
_doubleTapGestureRecognizer.nsuiNumberOfTapsRequired = 2
_panGestureRecognizer = NSUILongPressGestureRecognizer(target: self, action: #selector(panGestureRecognized(_:)))
_panGestureRecognizer.minimumPressDuration = 0.2

_panGestureRecognizer.delegate = self

Expand Down

0 comments on commit 3fe5fb4

Please sign in to comment.