fix:数位笔相关问题

This commit is contained in:
CJK_mkp
2025-06-29 15:45:18 +08:00
parent 8547276549
commit 200c299ce7
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -49,5 +49,5 @@ using System.Windows;
// You can specify all the values or you can default the Build and Revision Numbers // You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below: // by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")] // [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.7.0.1")] [assembly: AssemblyVersion("1.7.0.2")]
[assembly: AssemblyFileVersion("1.7.0.1")] [assembly: AssemblyFileVersion("1.7.0.2")]
@@ -1444,7 +1444,7 @@ namespace Ink_Canvas {
FloatingbarSelectionBG.Visibility = Visibility.Visible; FloatingbarSelectionBG.Visibility = Visibility.Visible;
System.Windows.Controls.Canvas.SetLeft(FloatingbarSelectionBG, 84); System.Windows.Controls.Canvas.SetLeft(FloatingbarSelectionBG, 84);
forceEraser = true; forceEraser = false;
forcePointEraser = true; forcePointEraser = true;
// 即使手掌触发过面积擦,也强制应用当前的EraserShapeType设置 // 即使手掌触发过面积擦,也强制应用当前的EraserShapeType设置
@@ -1524,7 +1524,7 @@ namespace Ink_Canvas {
FloatingbarSelectionBG.Visibility = Visibility.Visible; FloatingbarSelectionBG.Visibility = Visibility.Visible;
System.Windows.Controls.Canvas.SetLeft(FloatingbarSelectionBG, 112); System.Windows.Controls.Canvas.SetLeft(FloatingbarSelectionBG, 112);
forceEraser = true; forceEraser = false;
forcePointEraser = false; forcePointEraser = false;
inkCanvas.EraserShape = new EllipseStylusShape(5, 5); inkCanvas.EraserShape = new EllipseStylusShape(5, 5);
+2 -2
View File
@@ -49,5 +49,5 @@ using System.Windows;
// You can specify all the values or you can default the Build and Revision Numbers // You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below: // by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")] // [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.7.0.1")] [assembly: AssemblyVersion("1.7.0.2")]
[assembly: AssemblyFileVersion("1.7.0.1")] [assembly: AssemblyFileVersion("1.7.0.2")]