auto-git:
[change] src/app/App.tsx
This commit is contained in:
@@ -1982,6 +1982,10 @@ function formatWorldBackgroundLabel(
|
||||
return "Vertical Gradient";
|
||||
}
|
||||
|
||||
if (background.mode === "shader") {
|
||||
return "Shader Sky";
|
||||
}
|
||||
|
||||
return "Image";
|
||||
}
|
||||
|
||||
@@ -2009,6 +2013,10 @@ function describeWorldBackground(
|
||||
return `${background.topColorHex} -> ${background.bottomColorHex}`;
|
||||
}
|
||||
|
||||
if (background.mode === "shader") {
|
||||
return "Default Sky";
|
||||
}
|
||||
|
||||
if (background.assetId.trim().length === 0) {
|
||||
return options.emptyImageLabel ?? "Automatic fallback";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user