Skip to content

Conversation

birjj
Copy link

@birjj birjj commented Oct 7, 2020

Previously the browser history would be severely spammed whenever the settings were rapidly changed (e.g. FOV change).
This commit changes it to use history.replaceState instead, which replaces the current entry in history instead of creating a new entry. A fallback has been added just in case history.replaceState fails, although it should be implemented all the way back to IE10.

Comparison

birjj added 2 commits October 7, 2020 11:12
Previously the browser history would be severely spammed whenever
the settings were rapidly changed (e.g. FOV change)
This commit changes it to use history.replaceState instead

Compatible with IE10+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant