Skip to content

Commit

Permalink
Merge branch 'feat/TimeMachine' of https://github.com/WXRIW/Ink-Canvas
Browse files Browse the repository at this point in the history
…into feat/TimeMachine
  • Loading branch information
Raspberry-Monster committed Apr 16, 2023
2 parents 500fd28 + d4cb88a commit a74ac6e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Ink Canvas/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6098,6 +6098,7 @@ private void SymbolIconDelete_MouseUp(object sender, MouseButtonEventArgs e)
if (sender != lastBorderMouseDownObject) return;
if (inkCanvas.GetSelectedStrokes().Count > 0)
{
timeMachine.CommitStrokeEraseHistory(inkCanvas.Strokes);
inkCanvas.Strokes.Remove(inkCanvas.GetSelectedStrokes());
GridInkCanvasSelectionCover.Visibility = Visibility.Collapsed;
}
Expand Down

0 comments on commit a74ac6e

Please sign in to comment.