From 1e400eaffd9de4dc13c6b45cf6b805a3b26da3c0 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期三, 11 十二月 2024 16:47:50 +0800
Subject: [PATCH] #

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

diff --git a/zy-acs-flow/src/map/player.js b/zy-acs-flow/src/map/player.js
index 8aff09e..a828a64 100644
--- a/zy-acs-flow/src/map/player.js
+++ b/zy-acs-flow/src/map/player.js
@@ -1,7 +1,8 @@
 import * as PIXI from 'pixi.js';
 import * as TWEEDLE from 'tweedle.js';
 import * as Tool from './tool';
-import star from '/img/map/star.png'
+import star from '/img/map/star.png';
+import { DEVICE_TYPE } from './constants';
 
 export default class Player {
 
@@ -152,7 +153,15 @@
             this.mapContainer.scale.set(this.scale);
 
             this.mapContainer.children.forEach(child => {
-                // child.scale.set(1 / this.scale); // 闃叉鍥炬爣鍙樺皬
+                // child.scale.set(1 / (this.scale * 1)); // 闃叉鍥炬爣鍙樺皬
+
+                // switch (child.data?.type) {
+                //     case DEVICE_TYPE.POINT:
+                //         child.scale.set(1 / (this.scale * 20));
+                //         break
+                //     default:
+                //         break
+                // }
             });
         });
     }

--
Gitblit v1.9.1