Prechádzať zdrojové kódy

默认工具 - 同步底层库的逻辑

chenrongqian@kdanmobile.com 1 rok pred
rodič
commit
328e9767bf

+ 2 - 4
PDF Office/ViewModels/Tools/AnnotToolContentViewModel.cs

@@ -479,15 +479,13 @@ namespace PDF_Office.ViewModels.Tools
                 switch (menuItem.Tag.ToString())
                 {
                     case "default":
-                        PDFViewer.SetMouseMode(MouseModes.PanTool);
-                        //viewContentViewModel.SelectedPrpoertyPanel("PropertyPanelContent", null);
+                        HandToolIsCheckedEvent(false);
                         BtnHandIsChecked = false;
                         ShowPropertyPanel(false);
                         break;
 
                     case "roll":
-                        PDFViewer.SetMouseMode(MouseModes.Scroll);
-                        //viewContentViewModel.SelectedPrpoertyPanel("PropertyPanelContent", null);
+                        HandToolIsCheckedEvent(true);
                         BtnHandIsChecked = true;
                         ShowPropertyPanel(false);
                         break;