Simplify interaction prompt display and handling in various components

This commit is contained in:
2026-04-11 11:39:33 +02:00
parent 9026a34c72
commit 43e9e7baa0
7 changed files with 212 additions and 107 deletions

View File

@@ -225,9 +225,7 @@ export function RunnerCanvas({
{runnerReady && navigationMode === "firstPerson" ? (
<div className="runner-canvas__crosshair" aria-hidden="true" />
) : null}
{runnerReady &&
navigationMode === "firstPerson" &&
interactionPrompt !== null ? (
{runnerReady && interactionPrompt !== null ? (
<div
className="runner-canvas__prompt"
data-testid="runner-interaction-prompt"