소스 검색

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 defaultStyle = {
   stroke: "#000000",
-  strokeWidth: 20,
+  strokeWidth: 12,
   dash: [30, 0],
 };