瀏覽代碼

形状-切换、修改问题

OYXH\oyxh 1 年之前
父節點
當前提交
b75380ae2f
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      PDF Office/ViewModels/Tools/AnnotToolContentViewModel.Command.cs

+ 2 - 1
PDF Office/ViewModels/Tools/AnnotToolContentViewModel.Command.cs

@@ -1810,8 +1810,9 @@ namespace PDF_Master.ViewModels.Tools
                             //创建注释后,修改注释属性,可用于下次创建的注释
                             if (PropertyPanel != null && PropertyPanel.annot != null && PDFViewer.MouseMode == MouseModes.AnnotCreate)
                             {
-                                if (StrAnnotToolChecked == "Rect" && PropertyPanel.SharpsAnnot == key.Key || (PropertyPanel.SharpsAnnot != key.Key && key.Key == "Arrow"))
+                                if (StrAnnotToolChecked == "Rect" )
                                 {
+                                    if (PropertyPanel.SharpsAnnot == key.Key || (PropertyPanel.SharpsAnnot != key.Key && key.Key == "Arrow"))
                                     PDFViewer.SetToolParam(PropertyPanel.annot);
                                     PropertyPanel.SaveLastAnnot();
                                 }