internal void Canvas_MouseUp(Avalonia.Point dominoPoint, PointerReleasedEventArgs e) { if (iscopying) { Paste(dominoPoint, e); if (e.InitialPressMouseButton == MouseButton.Right) { FinalizePaste(true); } } else { SelectedTool?.MouseUp(dominoPoint, e); UpdateUIElements(); } }
internal void Canvas_MouseUp(object sender, MouseButtonEventArgs e) { SelectedTool?.MouseUp(sender, e); UpdateUIElements(); }