소스 검색

综合-部分bug修复

weixiangjie 10 달 전
부모
커밋
7b4c33d01d
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      Demo/Examples/Compdfkit_Tools/Edit/ContentEditCOntrol/ContentEditControl.xaml.cs
  2. 1 0
      Demo/Examples/PDFViewer/MainPage.xaml.cs

+ 1 - 2
Demo/Examples/Compdfkit_Tools/Edit/ContentEditCOntrol/ContentEditControl.xaml.cs

@@ -639,7 +639,6 @@ namespace Compdfkit_Tools.PDFControl
                     PDFEditParam pDFEditParam = ParamConverter.CPDFDataConverterToPDFEitParam(PdfViewControl.PDFToolManager.GetDocument(), editAreaArea, PageIndex);
                     pdfContentEditControl.SetPDFTextEditData((TextEditParam)pDFEditParam, true);
                     PropertyContainer.Child = pdfContentEditControl;
-                    return;
                 }
 
                 else if (editAreaArea.Type == CPDFEditType.EditImage && PdfViewControl != null)
@@ -653,8 +652,8 @@ namespace Compdfkit_Tools.PDFControl
                     PDFEditParam pDFEditParam = ParamConverter.CPDFDataConverterToPDFEitParam(PdfViewControl.PDFToolManager.GetDocument(), editAreaArea, PageIndex);
                     pdfContentEditControl.SetPDFImageEditData((ImageEditParam)pDFEditParam);
                     PropertyContainer.Child = pdfContentEditControl;
-                    return;
                 }
+                panelState.RightPanel = PanelState.RightPanelState.PropertyPanel;
             }
         }
 

+ 1 - 0
Demo/Examples/PDFViewer/MainPage.xaml.cs

@@ -346,6 +346,7 @@ namespace PDFViewer
             SignatureHelper.VerifySignatureList(viewControl.GetCPDFViewer().GetDocument());
             digitalSignatureControl.LoadUndoManagerEvent(viewControl.GetCPDFViewer());
             signatureStatusBarControl.SetStatus(SignatureHelper.SignatureList);
+            viewControl.PDFViewTool.SetViewerModel(MouseModes.kViewer);
         }
 
         /// <summary>