fix: emit initial hotspot state immediately after sceneChange to prevent flash
This commit is contained in:
@@ -71,6 +71,7 @@ export class Engine {
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.emit('sceneChange', scene)
|
this.emit('sceneChange', scene)
|
||||||
|
this.checkHotspotTime(scene, 0)
|
||||||
|
|
||||||
const preloadUrls = this.sceneManager.getCandidateUrls(
|
const preloadUrls = this.sceneManager.getCandidateUrls(
|
||||||
scene,
|
scene,
|
||||||
|
|||||||
Reference in New Issue
Block a user