Merge branch 'feat/TimeMachine' of https://github.com/WXRIW/Ink-Canvas into feat/TimeMachine
This commit is contained in:
commit
a74ac6eb7a
@ -6098,6 +6098,7 @@ namespace Ink_Canvas
|
|||||||
if (sender != lastBorderMouseDownObject) return;
|
if (sender != lastBorderMouseDownObject) return;
|
||||||
if (inkCanvas.GetSelectedStrokes().Count > 0)
|
if (inkCanvas.GetSelectedStrokes().Count > 0)
|
||||||
{
|
{
|
||||||
|
timeMachine.CommitStrokeEraseHistory(inkCanvas.Strokes);
|
||||||
inkCanvas.Strokes.Remove(inkCanvas.GetSelectedStrokes());
|
inkCanvas.Strokes.Remove(inkCanvas.GetSelectedStrokes());
|
||||||
GridInkCanvasSelectionCover.Visibility = Visibility.Collapsed;
|
GridInkCanvasSelectionCover.Visibility = Visibility.Collapsed;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user