浏览代码

ComPDFKit.Tool(win) - 复制手绘属性参数更改

liyuxuan 6 月之前
父节点
当前提交
d0ce867d70
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      Demo/Examples/ComPDFKit.Tool/SettingParam/AnnotParam/InkParam.cs

+ 3 - 3
Demo/Examples/ComPDFKit.Tool/SettingParam/AnnotParam/InkParam.cs

@@ -51,14 +51,14 @@ namespace ComPDFKit.Tool
 
                 inkTransfer.InkPath = inkPoints;
             }
-
-            if(Dash != null)
+            inkTransfer.Dash = null;
+            if (Dash != null)
             {
                 float[] DashCopy=new float[Dash.Length];
                 Dash.CopyTo(DashCopy,0);
                 inkTransfer.Dash = DashCopy;
             }
-
+            
             return true;
         }
     }