protected override bool OnDragStart(DragStartEvent e) { if (e.Button == MouseButton.Right) { return(false); } if (movementBlueprint != null) { return(true); } if (DragBox.HandleDrag(e)) { DragBox.Show(); return(true); } return(false); }
protected override bool OnDragStart(DragStartEvent e) { if (e.Button == MouseButton.Right) { return(false); } if (movementBlueprints != null) { isDraggingBlueprint = true; changeHandler?.BeginChange(); return(true); } if (DragBox.HandleDrag(e)) { DragBox.Show(); return(true); } return(false); }