auto-git:
[change] src/runtime-three/runtime-project-time.ts
This commit is contained in:
@@ -743,12 +743,15 @@ function resolveTimeDrivenBackground(
|
|||||||
]);
|
]);
|
||||||
|
|
||||||
if (daylikeImageBackground !== null) {
|
if (daylikeImageBackground !== null) {
|
||||||
|
const nightOverlay =
|
||||||
|
hasConfiguredImageBackground(nightBackground) &&
|
||||||
|
nightBackground.assetId !== daylikeImageBackground.assetId
|
||||||
|
? resolveBackgroundImageOverlay(nightBackground, twilightNightOpacity)
|
||||||
|
: null;
|
||||||
|
|
||||||
return {
|
return {
|
||||||
background: daylikeImageBackground,
|
background: daylikeImageBackground,
|
||||||
nightBackgroundOverlay: resolveBackgroundImageOverlay(
|
nightBackgroundOverlay: nightOverlay
|
||||||
nightBackground,
|
|
||||||
twilightNightOpacity
|
|
||||||
)
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user