adjust kScaleSlop
This commit is contained in:
parent
9f6254cc82
commit
b161b696b6
1 changed files with 2 additions and 2 deletions
|
|
@ -11,7 +11,7 @@ enum CustomTouchGestureState {
|
|||
twoFingerPan
|
||||
}
|
||||
|
||||
const kScaleSlop = kPrecisePointerPanSlop / 10;
|
||||
const kScaleSlop = kPrecisePointerPanSlop / 15;
|
||||
|
||||
class CustomTouchGestureRecognizer extends ScaleGestureRecognizer {
|
||||
CustomTouchGestureRecognizer({
|
||||
|
|
@ -239,7 +239,7 @@ class HoldTapMoveGestureRecognizer extends GestureRecognizer {
|
|||
|
||||
bool _isStart = false;
|
||||
|
||||
Timer? _firstTapUpTimer;
|
||||
Timer? _firstTapUpTimer;
|
||||
Timer? _secondTapDownTimer;
|
||||
_TapTracker? _firstTap;
|
||||
_TapTracker? _secondTap;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue