Pārlūkot izejas kodu

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

liyuxuan 3 mēneši atpakaļ
vecāks
revīzija
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;