From c36876cfdac9a8edaa503f7ff60a66adb4a5e3fb Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期三, 08 五月 2024 16:37:53 +0800 Subject: [PATCH] # --- src/config/setting.js | 2 +- src/core/warehouse.jsx | 2 +- src/components/shelf.jsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/shelf.jsx b/src/components/shelf.jsx index 22ac75c..387d77b 100644 --- a/src/components/shelf.jsx +++ b/src/components/shelf.jsx @@ -21,7 +21,7 @@ if (!fbx.castShadow) { Common.setShadow(fbx); } - Common.setColor(fbx, 0x778ca3); + // Common.setColor(fbx, 0x778ca3); fbx.scale.set(MODEL_SHELF_SCALE.x, MODEL_SHELF_SCALE.y, MODEL_SHELF_SCALE.z); return fbx.clone(); }, []) diff --git a/src/config/setting.js b/src/config/setting.js index 5446bf3..3a9e707 100644 --- a/src/config/setting.js +++ b/src/config/setting.js @@ -6,7 +6,7 @@ export const DEBUG = false; -export const INTERVAL_TIME = 1000; +export const INTERVAL_TIME = 500; // model scale rate diff --git a/src/core/warehouse.jsx b/src/core/warehouse.jsx index db491e0..8f09196 100644 --- a/src/core/warehouse.jsx +++ b/src/core/warehouse.jsx @@ -46,7 +46,7 @@ }, INTERVAL_TIME * 1.1); return () => { - // clearInterval(timer); + clearInterval(timer); } }, []) -- Gitblit v1.9.1