Skip to content

Commit 7ea9c16

Browse files
committed
Fix a bug
1 parent fd30e21 commit 7ea9c16

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Ink Canvas/MainWindow.xaml.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -562,6 +562,7 @@ private void Main_Grid_TouchDown(object sender, TouchEventArgs e)
562562
if (e.GetTouchPoint(null).Bounds.Width > BoundsWidth)
563563
{
564564
isLastTouchEraser = true;
565+
if (drawingShapeMode == 0 && forceEraser) return;
565566
inkCanvas.EditingMode = InkCanvasEditingMode.EraseByStroke;
566567
}
567568
else

0 commit comments

Comments
 (0)