haojianlong 4 سال پیش
والد
کامیت
fa5bc24246
2فایلهای تغییر یافته به همراه6 افزوده شده و 5 حذف شده
  1. 2 2
      package.json
  2. 4 3
      src/components/mapClass/EditScence.ts

+ 2 - 2
package.json

@@ -9,9 +9,9 @@
   },
   "dependencies": {
     "@saga-web/base": "2.1.24",
-    "@saga-web/big": "1.0.93",
+    "@saga-web/big": "1.0.95",
     "@saga-web/draw": "2.1.105",
-    "@saga-web/feng-map": "1.0.28",
+    "@saga-web/feng-map": "1.0.29",
     "@saga-web/graph": "2.1.117",
     "ant-design-vue": "^1.6.0",
     "core-js": "^3.6.4",

+ 4 - 3
src/components/mapClass/EditScence.ts

@@ -700,9 +700,10 @@ export class EditScence extends SGraphScene {
             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];
+                    // const sc = new SColor(this.focusItem.fillColor);
+                    // const alp = ((sc.alpha/255)*100).toFixed()
+                    // fillColorT = fillColor + Transparency[alp];
+                    fillColorT = fillColor + Transparency[80];
                 }
             } else {
                 fillColorT = fillColor;