Browse Source

ComPDFKit.Tool(win) - 修复点击空白处表单被释放的问题

TangJinZhou 2 months ago
parent
commit
f4c78f0925
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Demo/Examples/ComPDFKit.Tool/CPDFViewerTool.CreateWidget.cs

+ 1 - 1
Demo/Examples/ComPDFKit.Tool/CPDFViewerTool.CreateWidget.cs

@@ -33,7 +33,7 @@ namespace ComPDFKit.Tool
 
         protected bool AnnotWidgetHitTest()
         {
-            BaseAnnot baseAnnot = PDFViewer.AnnotHitTest();
+            BaseAnnot baseAnnot = PDFViewer.AnnotHitTest(true);
             if (baseAnnot != null)
             {
                 if ((baseAnnot as BaseWidget) != null)