瀏覽代碼

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

TangJinZhou 2 月之前
父節點
當前提交
f4c78f0925
共有 1 個文件被更改,包括 1 次插入1 次删除
  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)