private void Editor_OnMouseDown(object sender, MouseButtonEventArgs e) { _state = EditorState.Moving; _previousPoint = e.GetPosition(this); }