Update conditional rendering in App.tsx
This commit is contained in:
@@ -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 className="material-summary">Vertex selection is visible in the viewport. Persistent vertex transforms are still deferred.</div>
|
||||||
</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 ? (
|
) : selectedFace === null || selectedFaceId === null ? (
|
||||||
<div className="outliner-empty">
|
<div className="outliner-empty">
|
||||||
{whiteboxSelectionMode === "object"
|
Select a face to edit its material and UV transform.
|
||||||
? "Switch to Face mode or choose a face chip to edit materials and UVs."
|
|
||||||
: "Select a face to edit its material and UV transform."}
|
|
||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
<>
|
<>
|
||||||
|
|||||||
Reference in New Issue
Block a user