Skip to content

Commit 82e3613

Browse files
Fix gesture event names (#15931)
1 parent 4153ef7 commit 82e3613

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Avalonia.Base/Input/Gestures.cs

+5-5
Original file line numberDiff line numberDiff line change
@@ -64,23 +64,23 @@ private enum GestureStateType
6464

6565
public static readonly RoutedEvent<PointerDeltaEventArgs> PointerTouchPadGestureMagnifyEvent =
6666
RoutedEvent.Register<PointerDeltaEventArgs>(
67-
"PointerMagnifyGesture", RoutingStrategies.Bubble, typeof(Gestures));
67+
"PointerTouchPadGestureMagnify", RoutingStrategies.Bubble, typeof(Gestures));
6868

6969
public static readonly RoutedEvent<PointerDeltaEventArgs> PointerTouchPadGestureRotateEvent =
7070
RoutedEvent.Register<PointerDeltaEventArgs>(
71-
"PointerRotateGesture", RoutingStrategies.Bubble, typeof(Gestures));
71+
"PointerTouchPadGestureRotate", RoutingStrategies.Bubble, typeof(Gestures));
7272

7373
public static readonly RoutedEvent<PointerDeltaEventArgs> PointerTouchPadGestureSwipeEvent =
7474
RoutedEvent.Register<PointerDeltaEventArgs>(
75-
"PointerSwipeGesture", RoutingStrategies.Bubble, typeof(Gestures));
75+
"PointerTouchPadGestureSwipe", RoutingStrategies.Bubble, typeof(Gestures));
7676

7777
public static readonly RoutedEvent<PinchEventArgs> PinchEvent =
7878
RoutedEvent.Register<PinchEventArgs>(
79-
"PinchEvent", RoutingStrategies.Bubble, typeof(Gestures));
79+
"Pinch", RoutingStrategies.Bubble, typeof(Gestures));
8080

8181
public static readonly RoutedEvent<PinchEndedEventArgs> PinchEndedEvent =
8282
RoutedEvent.Register<PinchEndedEventArgs>(
83-
"PinchEndedEvent", RoutingStrategies.Bubble, typeof(Gestures));
83+
"PinchEnded", RoutingStrategies.Bubble, typeof(Gestures));
8484

8585
public static readonly RoutedEvent<PullGestureEventArgs> PullGestureEvent =
8686
RoutedEvent.Register<PullGestureEventArgs>(

0 commit comments

Comments
 (0)