From adcd2efd074eb3160c429ea8a5dfd537db1d1304 Mon Sep 17 00:00:00 2001
From: vincentlu <t1341870251@gmail.com>
Date: 星期三, 17 十二月 2025 14:37:06 +0800
Subject: [PATCH] #

---
 zy-acs-flow/src/map/tool.js |   22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/zy-acs-flow/src/map/tool.js b/zy-acs-flow/src/map/tool.js
index 9bc50c0..2bd45c6 100644
--- a/zy-acs-flow/src/map/tool.js
+++ b/zy-acs-flow/src/map/tool.js
@@ -914,17 +914,17 @@
     const currentScale = Math.abs(mapContainer.scale.x || 1);
     const labelStyle = new PIXI.TextStyle({
         fontFamily: 'Inter, "Segoe UI", sans-serif',
-        fill: themeMode === 'dark' ? '#f1f2f6' : '#1e272e',
-        fontSize: Math.max(16, 22 / currentScale),
+        fill: themeMode === 'dark' ? '#f1f2f6' : '#606060ff',
+        fontSize: Math.max(16, 20 / currentScale),
         fontWeight: 600,
-        letterSpacing: 0.5,
-        stroke: themeMode === 'dark' ? '#1e272e' : '#ffffff',
-        strokeThickness: Math.max(1, 2 / currentScale),
-        dropShadow: true,
-        dropShadowColor: themeMode === 'dark' ? '#00000066' : '#95a5a6',
-        dropShadowBlur: 1.5,
-        dropShadowAngle: Math.PI / 4,
-        dropShadowDistance: 2,
+        letterSpacing: 10,
+        // stroke: themeMode === 'dark' ? '#1e272e' : '#ffffff',
+        // strokeThickness: Math.max(1, 2 / currentScale),
+        // dropShadow: true,
+        // dropShadowColor: themeMode === 'dark' ? '#00000066' : '#95a5a6',
+        // dropShadowBlur: 1.5,
+        // dropShadowAngle: Math.PI / 4,
+        // dropShadowDistance: 2,
     });
     const label = new PIXI.Text(text ?? '', labelStyle);
     label.anchor.set(0.5);
@@ -999,9 +999,9 @@
     draft.name = id ? `area_${id}` : 'area_' + generateID();
     draft.zIndex = 0;
     if (setCurSprite) {
-        draft.lineStyle(2 / Math.abs(mapContainer.scale.x || 1), AREA_BORDER_COLOR, 0.9);
         draft.zIndex = DEVICE_Z_INDEX.AREA;
     }
+    draft.lineStyle(1 / Math.abs(mapContainer.scale.x || 1), AREA_BORDER_COLOR, 0.9);
     draft.beginFill(areaColor, 0.18);
     draft.drawRect(
         Math.min(from.x, to.x),

--
Gitblit v1.9.1