|
@@ -358,6 +358,8 @@ namespace Compdfkit_Tools.PDFControl
|
|
|
PdfViewControl.PDFViewTool.GetCPDFViewer().UndoManager.PropertyChanged += UndoManager_PropertyChanged;
|
|
|
PdfViewControl.PDFToolManager.MouseLeftButtonDownHandler -= PDFToolManager_MouseLeftButtonDownHandler;
|
|
|
PdfViewControl.PDFToolManager.MouseLeftButtonDownHandler += PDFToolManager_MouseLeftButtonDownHandler;
|
|
|
+ PdfViewControl.PDFToolManager.MouseLeftButtonUpHandler -= PDFToolManager_MouseLeftButtonUpHandler;
|
|
|
+ PdfViewControl.PDFToolManager.MouseLeftButtonUpHandler += PDFToolManager_MouseLeftButtonUpHandler;
|
|
|
PdfViewControl = view;
|
|
|
PdfViewControl.SplitPDFViewToolCreated -= PdfViewControl_SplitPDFViewToolCreated;
|
|
|
PdfViewControl.SplitPDFViewToolCreated += PdfViewControl_SplitPDFViewToolCreated;
|
|
@@ -367,9 +369,16 @@ namespace Compdfkit_Tools.PDFControl
|
|
|
DataContext = this;
|
|
|
}
|
|
|
|
|
|
+ private void PDFToolManager_MouseLeftButtonUpHandler(object sender, MouseEventObject e)
|
|
|
+ {
|
|
|
+ if (e.IsCreate)
|
|
|
+ {
|
|
|
+ PdfViewControl.PDFViewTool.GetCPDFViewer().SetIsShowStampMouse(false);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
private void PDFToolManager_MouseLeftButtonDownHandler(object sender, MouseEventObject e)
|
|
|
{
|
|
|
-
|
|
|
|
|
|
if (PdfViewControl.PDFToolManager.GetToolType() != ToolType.ContentEdit)
|
|
|
{
|