Explorar o código

'调整直线颜色和粗细'

zhangyu %!s(int64=4) %!d(string=hai) anos
pai
achega
c800771074
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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);