Explorar o código

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

pipipi-pikachu %!s(int64=5) %!d(string=hai) anos
pai
achega
0e094388c5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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,
     })
   }