From 652162f565bf8d09f2304ff6759cfccf9dfe54d8 Mon Sep 17 00:00:00 2001 From: cocos02 Date: Tue, 9 Jun 2026 12:32:48 +0800 Subject: [PATCH] fix: restore opacity when replaying same video after image scene --- engine/core/VideoManager.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/engine/core/VideoManager.ts b/engine/core/VideoManager.ts index e457d5b..6737cc5 100644 --- a/engine/core/VideoManager.ts +++ b/engine/core/VideoManager.ts @@ -83,6 +83,7 @@ export class VideoManager { if (!this.elA || this.switching) return if (src === this.currentSrc) { + this.active.style.opacity = '1' this.active.currentTime = 0 this.active.play().catch(() => {}) return