Browse Source

阅读页-右键菜单优化

OYXH\oyxh 1 year ago
parent
commit
3f611f6699

+ 1 - 0
PDF Office/ViewModels/Tools/AnnotToolContentViewModel.Layout.cs

@@ -356,6 +356,7 @@ namespace PDF_Master.ViewModels.Tools
         /// <returns></returns>
         private ContextMenu SelectedTextOrImageContextMenu(object sender, AnnotCommandArgs annotCommand)
         {
+            StrAnnotToolChecked = "";
             ContextMenu popMenu = new ContextMenu();
             popMenu.FontSize = 14;
 

+ 1 - 0
PDF Office/ViewModels/Tools/AnnotToolContentViewModel.cs

@@ -649,6 +649,7 @@ namespace PDF_Master.ViewModels.Tools
                         ExportPicture_MenuItemClick();
                         break;
                 }
+                ExitAnnotationTool();
                 //ShowPropertyPanel(false);
             }
         }