|
@@ -337,6 +337,10 @@ namespace ComPDFKit.Tool
|
|
|
{
|
|
|
return;
|
|
|
}
|
|
|
+
|
|
|
+ if (PDFViewer.IsRendering)
|
|
|
+ return;
|
|
|
+
|
|
|
if (!HitTestBorder())
|
|
|
{
|
|
|
RemovePopTextUI();
|
|
@@ -578,6 +582,10 @@ namespace ComPDFKit.Tool
|
|
|
{
|
|
|
return;
|
|
|
}
|
|
|
+
|
|
|
+ if (PDFViewer.IsRendering)
|
|
|
+ return;
|
|
|
+
|
|
|
MouseEventObject mouseEventObject = new MouseEventObject
|
|
|
{
|
|
|
mouseButtonEventArgs = e,
|
|
@@ -585,6 +593,7 @@ namespace ComPDFKit.Tool
|
|
|
annotType = C_ANNOTATION_TYPE.C_ANNOTATION_NONE,
|
|
|
IsCreate = false
|
|
|
};
|
|
|
+
|
|
|
if (isDrawSelectRect || IsDrawEditAnnot)
|
|
|
{
|
|
|
mouseEventObject.hitTestType = MouseHitTestType.SelectRect;
|
|
@@ -611,6 +620,9 @@ namespace ComPDFKit.Tool
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
+ if (PDFViewer.IsRendering)
|
|
|
+ return;
|
|
|
+
|
|
|
Cursor oldCursor = this.Cursor;
|
|
|
Cursor newCursor = this.Cursor;
|
|
|
MouseEventObject mouseEventObject = new MouseEventObject
|
|
@@ -724,6 +736,9 @@ namespace ComPDFKit.Tool
|
|
|
|
|
|
protected override void OnMouseRightButtonDown(MouseButtonEventArgs e)
|
|
|
{
|
|
|
+ if (PDFViewer.IsRendering)
|
|
|
+ return;
|
|
|
+
|
|
|
MouseEventObject mouseEventObject = new MouseEventObject
|
|
|
{
|
|
|
mouseButtonEventArgs = e,
|