ソースを参照

Merge branch 'develop' of http://39.106.8.246:3003/web/wanda-editer into develop

YaolongHan 4 年 前
コミット
2086088fd6
1 ファイル変更5 行追加0 行削除
  1. 5 0
      src/components/mapClass/EditScence.ts

+ 5 - 0
src/components/mapClass/EditScence.ts

@@ -699,6 +699,11 @@ export class EditScence extends SGraphScene {
             let fillColorT;
             if (fillColor.length == 7) {
                 fillColorT = fillColor + Transparency[15];
+                if (this.focusItem instanceof SSCPZZoneLegendItem || this.focusItem instanceof SSCPZZoneLegendItem) {
+                    const sc = new SColor(this.focusItem.fillColor);
+                    const alp = ((sc.alpha/255)*100).toFixed()
+                    fillColorT = fillColor + Transparency[alp];
+                }
             } else {
                 fillColorT = fillColor;
             }