Ver Fonte

ComPDFKit.Tool(win) - 点击时重置之前记录鼠标位置

liyuxuan há 3 meses atrás
pai
commit
a01670a387

+ 1 - 0
Demo/Examples/ComPDFKit.Tool/DrawTool/CreateAnnotTool.cs

@@ -245,6 +245,7 @@ namespace ComPDFKit.Tool.DrawTool
         {
             RemoveTextBox();
             mouseStartPoint = downPoint;
+            mouseEndPoint = downPoint;
             isDrawAnnot = true;
             this.maxRect = maxRect;
             zoomFactor = zoom;