Skip to content

Commit

Permalink
Fix gesture event names (#15931)
Browse files Browse the repository at this point in the history
  • Loading branch information
wieslawsoltes authored Jun 8, 2024
1 parent 4153ef7 commit 82e3613
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Avalonia.Base/Input/Gestures.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,23 +64,23 @@ private enum GestureStateType

public static readonly RoutedEvent<PointerDeltaEventArgs> PointerTouchPadGestureMagnifyEvent =
RoutedEvent.Register<PointerDeltaEventArgs>(
"PointerMagnifyGesture", RoutingStrategies.Bubble, typeof(Gestures));
"PointerTouchPadGestureMagnify", RoutingStrategies.Bubble, typeof(Gestures));

public static readonly RoutedEvent<PointerDeltaEventArgs> PointerTouchPadGestureRotateEvent =
RoutedEvent.Register<PointerDeltaEventArgs>(
"PointerRotateGesture", RoutingStrategies.Bubble, typeof(Gestures));
"PointerTouchPadGestureRotate", RoutingStrategies.Bubble, typeof(Gestures));

public static readonly RoutedEvent<PointerDeltaEventArgs> PointerTouchPadGestureSwipeEvent =
RoutedEvent.Register<PointerDeltaEventArgs>(
"PointerSwipeGesture", RoutingStrategies.Bubble, typeof(Gestures));
"PointerTouchPadGestureSwipe", RoutingStrategies.Bubble, typeof(Gestures));

public static readonly RoutedEvent<PinchEventArgs> PinchEvent =
RoutedEvent.Register<PinchEventArgs>(
"PinchEvent", RoutingStrategies.Bubble, typeof(Gestures));
"Pinch", RoutingStrategies.Bubble, typeof(Gestures));

public static readonly RoutedEvent<PinchEndedEventArgs> PinchEndedEvent =
RoutedEvent.Register<PinchEndedEventArgs>(
"PinchEndedEvent", RoutingStrategies.Bubble, typeof(Gestures));
"PinchEnded", RoutingStrategies.Bubble, typeof(Gestures));

public static readonly RoutedEvent<PullGestureEventArgs> PullGestureEvent =
RoutedEvent.Register<PullGestureEventArgs>(
Expand Down

0 comments on commit 82e3613

Please sign in to comment.