From 9d71e24e7982f6915e5f832512925bee9b245f35 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期二, 20 八月 2024 16:13:26 +0800 Subject: [PATCH] # --- src/components/area.jsx | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/src/components/area.jsx b/src/components/area.jsx index 59b08ec..887d07e 100644 --- a/src/components/area.jsx +++ b/src/components/area.jsx @@ -11,7 +11,7 @@ const position = new THREE.Vector3(x + width / 2, Y, y + height / 2); const size = [width, 1, height]; - textHeight ||= Y + 50; + // textHeight ||= Y + 50; useFrame(() => { const box = meshRef.current; @@ -41,8 +41,6 @@ <Text position={new THREE.Vector3(position.x, textHeight, position.z)} text={textContent} - scale={new THREE.Vector3(100, 100, 100)} - fontSize={100} /> )} </group> -- Gitblit v1.9.1