|
|
|
@ -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()); |
|
|
|
} |
|
|
|
} |
|
|
|
|