Update conditional rendering in App.tsx

This commit is contained in:
2026-04-04 20:16:19 +02:00
parent 3e2bd13906
commit d8bd6c2c83

View File

@@ -7009,11 +7009,11 @@ export function App({ store, initialStatusMessage }: AppProps) {
<div className="material-summary">Vertex selection is visible in the viewport. Persistent vertex transforms are still deferred.</div>
</div>
)
) : whiteboxSelectionMode !== "face" ? (
<div className="outliner-empty">Switch to Face mode or choose a face chip to edit materials and UVs.</div>
) : selectedFace === null || selectedFaceId === null ? (
<div className="outliner-empty">
{whiteboxSelectionMode === "object"
? "Switch to Face mode or choose a face chip to edit materials and UVs."
: "Select a face to edit its material and UV transform."}
Select a face to edit its material and UV transform.
</div>
) : (
<>