Browse Source

remove debug code

pull/12666/head
Emmanuel Hansen 3 years ago
parent
commit
f81b4546f8
  1. 3
      src/Avalonia.Base/Input/GestureRecognizers/PinchGestureRecognizer.cs

3
src/Avalonia.Base/Input/GestureRecognizers/PinchGestureRecognizer.cs

@ -62,7 +62,6 @@ namespace Avalonia.Input
{
if (Target != null && Target is Visual visual && (e.Pointer.Type == PointerType.Touch || e.Pointer.Type == PointerType.Pen))
{
Debug.WriteLine($"Pointer with ID: {e.Pointer.Id} pressed");
if (_firstContact == null)
{
_firstContact = e.Pointer;
@ -113,8 +112,6 @@ namespace Avalonia.Input
_secondContact = null;
}
Debug.WriteLine($"Pointer with ID: {pointer.Id} removed");
Target?.RaiseEvent(new PinchEndedEventArgs());
}
}

Loading…
Cancel
Save