|
|
|
@ -732,7 +732,8 @@ class _EditorTextSelectionGestureDetectorState |
|
|
|
|
gestures[LongPressGestureRecognizer] = |
|
|
|
|
GestureRecognizerFactoryWithHandlers<LongPressGestureRecognizer>( |
|
|
|
|
() => LongPressGestureRecognizer( |
|
|
|
|
debugOwner: this, kind: PointerDeviceKind.touch), |
|
|
|
|
debugOwner: this, |
|
|
|
|
supportedDevices: <PointerDeviceKind>{PointerDeviceKind.touch}), |
|
|
|
|
(instance) { |
|
|
|
|
instance |
|
|
|
|
..onLongPressStart = _handleLongPressStart |
|
|
|
@ -748,7 +749,8 @@ class _EditorTextSelectionGestureDetectorState |
|
|
|
|
gestures[HorizontalDragGestureRecognizer] = |
|
|
|
|
GestureRecognizerFactoryWithHandlers<HorizontalDragGestureRecognizer>( |
|
|
|
|
() => HorizontalDragGestureRecognizer( |
|
|
|
|
debugOwner: this, kind: PointerDeviceKind.mouse), |
|
|
|
|
debugOwner: this, |
|
|
|
|
supportedDevices: <PointerDeviceKind>{PointerDeviceKind.mouse}), |
|
|
|
|
(instance) { |
|
|
|
|
instance |
|
|
|
|
..dragStartBehavior = DragStartBehavior.down |
|
|
|
|