delay navigate fallbacks to play nice with other libraries/fr
This commit is contained in:
parent
8c2b02dbaa
commit
d3389bcf1d
1 changed files with 2 additions and 1 deletions
|
|
@ -118,7 +118,8 @@ xrf.navigator.init = () => {
|
|||
xrf.emit('hash', {hash: document.location.hash })
|
||||
})
|
||||
|
||||
xrf.navigator.setupNavigateFallbacks()
|
||||
// allow other libraries to trigger popstate event without triggering the navigate-fallbacks during pageload
|
||||
setTimeout( xrf.navigator.setupNavigateFallbacks(), 1500 )
|
||||
|
||||
// this allows selectionlines to be updated according to the camera (renderloop)
|
||||
xrf.focusLine = new xrf.THREE.Group()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue