private void OnMouseUp(MouseButtonEventArgs obj) { if (_window.IsMouseButtonReleased(MouseButton.Left)) { _graph.FinishDrag(); _mouseDownStartPt = Vector2.Zero; } }