From 17c479525db8f7159f3b5c2bb4e76dd6e89f2e02 Mon Sep 17 00:00:00 2001 From: cocos02 Date: Mon, 8 Jun 2026 15:17:43 +0800 Subject: [PATCH] fix: emit initial hotspot state immediately after sceneChange to prevent flash --- engine/core/Engine.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/engine/core/Engine.ts b/engine/core/Engine.ts index 62eaf10..2439d61 100644 --- a/engine/core/Engine.ts +++ b/engine/core/Engine.ts @@ -71,6 +71,7 @@ export class Engine { } this.emit('sceneChange', scene) + this.checkHotspotTime(scene, 0) const preloadUrls = this.sceneManager.getCandidateUrls( scene,