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