From 264513b8f5f6a2655441edabf01c7ccf672e8a21 Mon Sep 17 00:00:00 2001 From: STBBRD <62409850+STBBRD@users.noreply.github.com> Date: Wed, 7 Jun 2023 08:53:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8C=87=E5=AE=9A=E7=AC=94=E5=B0=BE=E6=93=A6?= =?UTF-8?q?=E9=99=A4=E4=B8=BA=E6=8C=89=E7=AC=94=E7=94=BB=E6=93=A6=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Ink Canvas/MainWindow.xaml.cs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Ink Canvas/MainWindow.xaml.cs b/Ink Canvas/MainWindow.xaml.cs index 5cdb79f..a3a9b65 100644 --- a/Ink Canvas/MainWindow.xaml.cs +++ b/Ink Canvas/MainWindow.xaml.cs @@ -1794,10 +1794,12 @@ namespace Ink_Canvas } else { - inkCanvas.EraserShape = forcePointEraser ? new EllipseStylusShape(50, 50) : new EllipseStylusShape(5, 5); - //inkCanvas.EraserShape = new RectangleStylusShape(8, 8); - //inkCanvas.EraserShape = new EllipseStylusShape(boundsWidth * 1.5, boundsWidth * 1.5); - inkCanvas.EditingMode = forcePointEraser ? InkCanvasEditingMode.EraseByPoint : InkCanvasEditingMode.EraseByStroke; + //inkCanvas.EraserShape = new RectangleStylusShape(8, 8); //old old + //inkCanvas.EraserShape = forcePointEraser ? new EllipseStylusShape(50, 50) : new EllipseStylusShape(5, 5); //last + //inkCanvas.EraserShape = new EllipseStylusShape(boundsWidth * 1.5, boundsWidth * 1.5); //old old + //inkCanvas.EditingMode = forcePointEraser ? InkCanvasEditingMode.EraseByPoint : InkCanvasEditingMode.EraseByStroke; //last + inkCanvas.EraserShape = new EllipseStylusShape(5, 5); + inkCanvas.EditingMode = InkCanvasEditingMode.EraseByStroke; } } }