auto-git:

[change] src/runtime-three/runtime-project-time.ts
This commit is contained in:
2026-04-22 12:33:35 +02:00
parent 7430e95608
commit fd13d0dcfe

View File

@@ -743,12 +743,15 @@ function resolveTimeDrivenBackground(
]);
if (daylikeImageBackground !== null) {
const nightOverlay =
hasConfiguredImageBackground(nightBackground) &&
nightBackground.assetId !== daylikeImageBackground.assetId
? resolveBackgroundImageOverlay(nightBackground, twilightNightOpacity)
: null;
return {
background: daylikeImageBackground,
nightBackgroundOverlay: resolveBackgroundImageOverlay(
nightBackground,
twilightNightOpacity
)
nightBackgroundOverlay: nightOverlay
};
}