made fade smoother
This commit is contained in:
parent
46fd6a5317
commit
49ca57c63e
@ -238,10 +238,12 @@ export default function RuntimePresentation({
|
||||
// NOTE: fadeOut config is NOT used for video transitions.
|
||||
// Video transitions end instantly (last frame = new page, then overlay removed).
|
||||
// fadeIn is used for non-video navigation (crossfade 500ms).
|
||||
// hasActiveTransition includes pendingTransitionComplete to prevent crossfade
|
||||
// during the video-to-background handoff phase.
|
||||
const { isFadingIn, resetFadeIn } = useBackgroundTransition({
|
||||
pageSwitch,
|
||||
fadeIn: {
|
||||
hasActiveTransition: Boolean(transitionPreview),
|
||||
hasActiveTransition: Boolean(transitionPreview) || pendingTransitionComplete,
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user