Remove first person and orbit visitor buttons, update active mode display
This commit is contained in:
@@ -6762,25 +6762,6 @@ export function App({ store, initialStatusMessage }: AppProps) {
|
||||
</div>
|
||||
|
||||
<div className="toolbar__actions">
|
||||
<div className="toolbar__group">
|
||||
<button
|
||||
className={`toolbar__button ${activeNavigationMode === "firstPerson" ? "toolbar__button--active" : ""}`}
|
||||
type="button"
|
||||
data-testid="runner-mode-first-person"
|
||||
onClick={() => handleSetPreferredNavigationMode("firstPerson")}
|
||||
>
|
||||
First Person
|
||||
</button>
|
||||
<button
|
||||
className={`toolbar__button ${activeNavigationMode === "orbitVisitor" ? "toolbar__button--active" : ""}`}
|
||||
type="button"
|
||||
data-testid="runner-mode-orbit-visitor"
|
||||
onClick={() => handleSetPreferredNavigationMode("orbitVisitor")}
|
||||
>
|
||||
Orbit Visitor
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div className="toolbar__group">
|
||||
<button
|
||||
className="toolbar__button toolbar__button--accent"
|
||||
@@ -6828,7 +6809,7 @@ export function App({ store, initialStatusMessage }: AppProps) {
|
||||
<div className="value">
|
||||
{activeNavigationMode === "firstPerson"
|
||||
? "First Person"
|
||||
: "Orbit Visitor"}
|
||||
: "Third Person"}
|
||||
</div>
|
||||
</div>
|
||||
<div className="stat-card">
|
||||
|
||||
Reference in New Issue
Block a user