ソースを参照

fix: 修复创建虚线线条异常的bug

pipipi-pikachu 5 年 前
コミット
0e094388c5
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/hooks/useCreateElement.ts

+ 1 - 1
src/hooks/useCreateElement.ts

@@ -157,7 +157,7 @@ export default () => {
       end,
       points: data.points,
       color: themeColor.value,
-      style: 'solid',
+      style: data.style,
       width: 2,
     })
   }