- commit
- 44e38c31878cf0b93ecd638b712e46088c2151d0
- parent
- 4fa04ebb7834814ff727c8b19b1e1760f59522e2
- author
- Dami <dami.etoile@gmail.com>
| M | src/ | 8 | +++++++- |
@@ -230,7 +230,13 @@ export function createStage(options = {}) {
230230 ctx.restore();231231 if (progress < 1)232232 visualFrame((time) => drawTransition(time, generation));233- else transitionStart = 0;233+ else {234+ transitionStart = 0;235+ // The iris frame paints over the destination once it reaches full236+ // coverage. Draw the destination again so the handoff never leaves a237+ // black canvas until the next unrelated input.238+ render();239+ }234240 }235241 function drawSceneExitShutter(now) {236242 if (sceneMotion.phase !== 'exiting' || reducedMotion) return;