private void SKElement_MouseUp(object?sender, System.Windows.Input.MouseButtonEventArgs e) { if (e.ChangedButton != System.Windows.Input.MouseButton.Left) { return; } var mousePos = e.GetPosition(_gameElement); _interactionManager.PointerRelease((int)mousePos.X, (int)mousePos.Y); }
private void SKControl_MouseUp(object?sender, MouseEventArgs e) { _interactionManager.PointerRelease(e.X, e.Y); }
public override void EndInteraction(PointF[] points) => _interactionManager.PointerRelease((int)points[0].X, (int)points[0].Y);