fix: set currentScene before image branch in resumeScene so hotspots are clickable

This commit is contained in:
2026-06-09 12:18:42 +08:00
parent 9e339c7c16
commit bdf62bf0a6

View File

@@ -380,6 +380,7 @@ export class Engine {
this.ended = false
this.isInitialScene = false
this.currentScene = scene
if (scene.type === 'image') {
this.emit('sceneChange', scene)