fix: remove world splat movement hints
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled

This commit is contained in:
Your Name 2026-05-26 10:45:31 +08:00
parent b40fe24b4a
commit c20dc8d3a1

View File

@ -6,7 +6,6 @@ import { Canvas, type ThreeEvent, useFrame, useThree } from "@react-three/fiber"
import { SparkRenderer, SplatFileType, SplatMesh as SparkSplatMesh } from "@sparkjsdev/spark";
import {
AlertCircle,
Crosshair,
Globe,
ImageIcon,
Loader2,
@ -1679,20 +1678,6 @@ function WorldSplatScene({
</div>
) : null}
</div>
{interactionReady && (firstPerson || interactionMode === "hotspot") && (
<div className="flex items-end justify-between gap-3">
{firstPerson && interactionMode === "navigate" ? (
<div className="rounded-2xl border border-white/10 bg-black/55 px-3 py-2 text-[10px] text-zinc-300 shadow-xl backdrop-blur-sm">
WASD / 方向键移动,拖动画面转向,Q/R 上升,E/F 下降
</div>
) : (
<div />
)}
<div className="flex h-12 w-12 shrink-0 items-center justify-center rounded-full border border-white/10 bg-black/55 text-zinc-100 shadow-xl backdrop-blur-sm">
<Crosshair className="h-5 w-5" />
</div>
</div>
)}
</div>
</Html>
</>