Skip to content

Commit dd29c1e

Browse files
committed
Merge branch 'maui_gestures_breadcrumbs' into maui_ctmvvm
2 parents 44f30f8 + 28c2205 commit dd29c1e

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/Sentry.Maui/Internal/MauiGestureRecognizerEventsBinder.cs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
namespace Sentry.Maui.Internal;
22

33
/// <summary>
4-
/// Detects and breadcrumbs any gesture recognizers attached to the visual element
4+
/// Detects and adds breadcrumbs for any gesture recognizers attached to the visual element
55
/// </summary>
66
public class MauiGestureRecognizerEventsBinder : IMauiElementEventBinder
77
{
@@ -141,13 +141,10 @@ private static void OnPointerEnteredGesture(object? sender, PointerEventArgs e)
141141

142142
private static IEnumerable<(string Key, string Value)> ToPointerData(PointerEventArgs e) =>
143143
[
144-
// some of the data here may have some challenges being pulled out
145144
#if ANDROID
146145
("MotionEventAction", e.PlatformArgs?.MotionEvent.Action.ToString() ?? string.Empty)
147-
//("MotionEventActionButton", e.PlatformArgs?.MotionEvent.ActionButton.ToString() ?? String.Empty)
148146
#elif IOS
149-
("State", e.PlatformArgs?.GestureRecognizer.State.ToString() ?? string.Empty),
150-
//("ButtonMask", e.PlatformArgs?.GestureRecognizer.ButtonMask.ToString() ?? String.Empty)
147+
("State", e.PlatformArgs?.GestureRecognizer.State.ToString() ?? string.Empty)
151148
#endif
152149
];
153150

0 commit comments

Comments
 (0)