Просмотр исходного кода

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

pipipi-pikachu 5 лет назад
Родитель
Сommit
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,
     })
   }