|
@@ -13,6 +13,7 @@ using System.Linq;
|
|
|
using System.Net;
|
|
|
using System.Windows;
|
|
|
using System.Windows.Controls;
|
|
|
+using System.Windows.Input;
|
|
|
using System.Windows.Media;
|
|
|
using System.Windows.Media.TextFormatting;
|
|
|
using static ComPDFKit.Tool.Help.ImportWin32;
|
|
@@ -367,7 +368,7 @@ namespace ComPDFKit.Tool.DrawTool
|
|
|
public virtual void OnMouseMove(Point mousePoint, out bool Tag)
|
|
|
{
|
|
|
Tag = false;
|
|
|
- if (isMouseDown)
|
|
|
+ if (Mouse.LeftButton==MouseButtonState.Pressed)
|
|
|
{
|
|
|
Tag = isMouseDown;
|
|
|
mouseEndDrawPoint = mousePoint;
|