Procházet zdrojové kódy

综合-部分bug修复

weixiangjie před 10 měsíci
rodič
revize
7b4c33d01d

+ 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>