From de15a98349ae269f01aca88b0ad01d182c2001e9 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期三, 20 三月 2024 16:58:34 +0800
Subject: [PATCH] #

---
 zy-asrs-flow/src/pages/map/player.js |    6 +++---
 zy-asrs-flow/src/pages/map/index.jsx |    2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/zy-asrs-flow/src/pages/map/index.jsx b/zy-asrs-flow/src/pages/map/index.jsx
index 0d54d1e..98adb43 100644
--- a/zy-asrs-flow/src/pages/map/index.jsx
+++ b/zy-asrs-flow/src/pages/map/index.jsx
@@ -261,7 +261,7 @@
                                 />
                             )}
                         </Col>
-                        <Col span={12} style={{ backgroundColor: styles.dark ? '#2C3A47' : '#4a69bd' }}>
+                        <Col span={12} style={{ backgroundColor: styles.dark ? '#2f3542' : '#4a69bd' }}>
                             <Flex className={styles.flex} gap={'large'} justify={'flex-end'} align={'center'}>
 
                                 {model === MapModel.OBSERVER_MODEL && (
diff --git a/zy-asrs-flow/src/pages/map/player.js b/zy-asrs-flow/src/pages/map/player.js
index 6878977..fe71ddf 100644
--- a/zy-asrs-flow/src/pages/map/player.js
+++ b/zy-asrs-flow/src/pages/map/player.js
@@ -179,7 +179,7 @@
 
     showCoordinates = () => {
         const coordinatesText = new PIXI.Text('{ x: 0, y: 0 }', {
-            fill: 0x000000,
+            fill: this.darkModel ? 0xffffff : 0x000000,
             fontSize: 13,
             fontFamily: 'MicrosoftYaHei',
             fontWeight: 'bold',
@@ -329,7 +329,7 @@
         if (!this.mapContainer || !this.app) {
             return;
         }
-        
+
         this.mapContainer.scale.set(1);
         this.mapContainer.position.set(0, 0);
         if (this.mapContainer.children.length === 0) {
@@ -384,7 +384,7 @@
 
 function generatePixiApp(dark) {
     const app = new PIXI.Application({
-        background: dark ? '#2C3A47' : '#f1f2f6',
+        background: dark ? '#2f3542' : '#f1f2f6',
         antialias: true,
     })
     app.stage.eventMode = 'static';

--
Gitblit v1.9.1