瀏覽代碼

fix: 修改线段默认值

bill 1 天之前
父節點
當前提交
c76437f29a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/core/components/line/index.ts

+ 1 - 1
src/core/components/line/index.ts

@@ -23,7 +23,7 @@ export { useDraw } from "./use-draw.ts";
 export const shapeName = "线段";
 export const shapeName = "线段";
 export const defaultStyle = {
 export const defaultStyle = {
   stroke: "#000000",
   stroke: "#000000",
-  strokeWidth: 20,
+  strokeWidth: 12,
   dash: [30, 0],
   dash: [30, 0],
 };
 };