|
|
|
@ -75,6 +75,7 @@ namespace Avalonia.Controls.Primitives |
|
|
|
protected override void OnPointerPressed(PointerPressedEventArgs e) |
|
|
|
{ |
|
|
|
e.Device.Capture(this); |
|
|
|
e.Handled = true; |
|
|
|
_lastPoint = e.GetPosition(this); |
|
|
|
|
|
|
|
var ev = new VectorEventArgs |
|
|
|
@ -91,6 +92,7 @@ namespace Avalonia.Controls.Primitives |
|
|
|
if (_lastPoint.HasValue) |
|
|
|
{ |
|
|
|
e.Device.Capture(null); |
|
|
|
e.Handled = true; |
|
|
|
_lastPoint = null; |
|
|
|
|
|
|
|
var ev = new VectorEventArgs |
|
|
|
|