Преглед на файлове

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],
 };