From 1e967e17c4d9daf0bd4145715b856f0b74e05ae6 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期四, 07 十一月 2024 14:24:24 +0800 Subject: [PATCH] # --- zy-acs-flow/src/config/setting.js | 2 +- zy-acs-flow/src/map/http.js | 2 +- zy-acs-flow/src/map/player.js | 2 +- zy-acs-flow/src/map/MapPage.jsx | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/zy-acs-flow/src/config/setting.js b/zy-acs-flow/src/config/setting.js index a87151d..31a006c 100644 --- a/zy-acs-flow/src/config/setting.js +++ b/zy-acs-flow/src/config/setting.js @@ -37,6 +37,6 @@ export const EDIT_MODE = 'pessimistic'; // pessimistic | undoable -export const LOGIN_BACKGROUND = 'media'; // image | media +export const LOGIN_BACKGROUND = 'image'; // image | media export const CUSTOM_PAGES_DATA_INTERVAL = 100000; \ No newline at end of file diff --git a/zy-acs-flow/src/map/MapPage.jsx b/zy-acs-flow/src/map/MapPage.jsx index 999486f..44e67b1 100644 --- a/zy-acs-flow/src/map/MapPage.jsx +++ b/zy-acs-flow/src/map/MapPage.jsx @@ -422,9 +422,9 @@ size="small" onClick={() => { player.rotateMap(); - setTimeout(() => { - player.adaptScreen(); - }, 500) + // setTimeout(() => { + // player.adaptScreen(); + // }, 500) }} > <RotateRight /> diff --git a/zy-acs-flow/src/map/http.js b/zy-acs-flow/src/map/http.js index 35203c1..b8a6cfd 100644 --- a/zy-acs-flow/src/map/http.js +++ b/zy-acs-flow/src/map/http.js @@ -49,7 +49,7 @@ // support switch (item.type) { case DEVICE_TYPE.POINT: - sprite.scale.set(0.65, 0.65); + sprite.scale.set(0.85, 0.85); break default: break diff --git a/zy-acs-flow/src/map/player.js b/zy-acs-flow/src/map/player.js index 506e6c0..3d3a04e 100644 --- a/zy-acs-flow/src/map/player.js +++ b/zy-acs-flow/src/map/player.js @@ -239,7 +239,7 @@ const newRotation = this.mapContainer.rotation + rotationIncrement; new TWEEDLE.Tween(this.mapContainer) - .to({ rotation: newRotation }, 300) + .to({ rotation: newRotation }, 200) .easing(TWEEDLE.Easing.Quadratic.Out) .start(); } -- Gitblit v1.9.1