Update toolbar subtitle and add runtime interaction prompt handling

This commit is contained in:
2026-03-31 06:48:24 +02:00
parent 9e136ee1d5
commit c8f8f582ec

View File

@@ -1760,6 +1760,7 @@ export function App({ store, initialStatusMessage }: AppProps) {
: "No Player Start is authored yet. Orbit Visitor opened first, with a fallback FPS spawn still available." : "No Player Start is authored yet. Orbit Visitor opened first, with a fallback FPS spawn still available."
); );
setFirstPersonTelemetry(null); setFirstPersonTelemetry(null);
setRuntimeInteractionPrompt(null);
setActiveNavigationMode(nextNavigationMode); setActiveNavigationMode(nextNavigationMode);
store.enterPlayMode(); store.enterPlayMode();
setStatusMessage( setStatusMessage(
@@ -1776,6 +1777,7 @@ export function App({ store, initialStatusMessage }: AppProps) {
setRuntimeScene(null); setRuntimeScene(null);
setRuntimeMessage(null); setRuntimeMessage(null);
setFirstPersonTelemetry(null); setFirstPersonTelemetry(null);
setRuntimeInteractionPrompt(null);
store.exitPlayMode(); store.exitPlayMode();
setStatusMessage("Returned to editor mode."); setStatusMessage("Returned to editor mode.");
}; };
@@ -1797,10 +1799,10 @@ export function App({ store, initialStatusMessage }: AppProps) {
return ( return (
<div className="app-shell app-shell--play"> <div className="app-shell app-shell--play">
<header className="toolbar"> <header className="toolbar">
<div className="toolbar__brand"> <div className="toolbar__brand">
<div className="toolbar__title">WebEditor3D</div> <div className="toolbar__title">WebEditor3D</div>
<div className="toolbar__subtitle">Slice 2.2 trigger-action-target foundation</div> <div className="toolbar__subtitle">Slice 2.3 click interactions and runner prompts</div>
</div> </div>
<div className="toolbar__actions"> <div className="toolbar__actions">
<div className="toolbar__group"> <div className="toolbar__group">