瀏覽代碼

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,
     })
   }