fix: set currentScene before image branch in resumeScene so hotspots are clickable
This commit is contained in:
@@ -380,6 +380,7 @@ export class Engine {
|
|||||||
|
|
||||||
this.ended = false
|
this.ended = false
|
||||||
this.isInitialScene = false
|
this.isInitialScene = false
|
||||||
|
this.currentScene = scene
|
||||||
|
|
||||||
if (scene.type === 'image') {
|
if (scene.type === 'image') {
|
||||||
this.emit('sceneChange', scene)
|
this.emit('sceneChange', scene)
|
||||||
|
|||||||
Reference in New Issue
Block a user