YaolongHan 4 роки тому
батько
коміт
9ed8ae4be4
1 змінених файлів з 2 додано та 2 видалено
  1. 2 2
      src/lib/items/SZoneLegendItem.ts

+ 2 - 2
src/lib/items/SZoneLegendItem.ts

@@ -146,9 +146,9 @@ export class SZoneLegendItem extends SPolygonItem {
     toData(): any {
         this.data.Pos = {X: this.x, Y: this.y};
         this.data.Name = this.text;
-        this.data.Properties.FillColor = this.FillColor.value;
+        this.data.Properties.FillColor = this.fillColor.value;
         this.data.Properties.StrokeColor = this.strokeColor.value;
-        this.data.Properties.lineWidth = this.lineWidth;
+        this.data.Properties.LineWidth = this.lineWidth;
         this.data.OutLine = this.getPointList.map(pos => {
             return {
                 X: pos.x,