Jelajahi Sumber

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

chenrongqian@kdanmobile.com 1 tahun lalu
induk
melakukan
328e9767bf
1 mengubah file dengan 2 tambahan dan 4 penghapusan
  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;