Browse Source

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

chenrongqian@kdanmobile.com 1 year ago
parent
commit
328e9767bf
1 changed files with 2 additions and 4 deletions
  1. 2 4
      PDF Office/ViewModels/Tools/AnnotToolContentViewModel.cs

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