소스 검색

bug - 删除图章操作时会选中该图章

sunhaonan 1 년 전
부모
커밋
0aac9e09e2
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      Demo/Examples/Compdfkit_Tools/Annotation/PDFAnnotationPanel/PDFAnnotationControl/CPDFAnnotationControl.xaml.cs

+ 2 - 0
Demo/Examples/Compdfkit_Tools/Annotation/PDFAnnotationPanel/PDFAnnotationControl/CPDFAnnotationControl.xaml.cs

@@ -227,6 +227,8 @@ namespace Compdfkit_Tools.PDFControl
             if (pdfAnnotationData == null)
             {
                 pdfViewerControl.SetToolType(ToolType.Pan);
+                pdfViewerControl.SetIsShowStampMouse(false);
+                pdfViewerControl.SetIsVisibleCustomMouse(false);
                 return;
             }