소스 검색

'调整直线颜色和粗细'

zhangyu 4 년 전
부모
커밋
c800771074
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      src/components/mapClass/EditScence.ts

+ 2 - 1
src/components/mapClass/EditScence.ts

@@ -171,7 +171,8 @@ export class EditScence extends SGraphScene {
             Properties: {
                 IconUrl: require("../../assets/images/t-line-hover.png"),
                 Line: [{ X: event.x, Y: event.y }],
-                LineWidth: 2
+                LineWidth: 1,
+                StrokeColor: "#bdc3c8"
             }
         }
         const item = new SLineMarkerItem(null, data);