mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-04 10:24:02 +00:00
fix: invoke Location animation scheduling through window functions
This commit is contained in:
1 parent
7485565975
commit
63e5352964
1 file changed
+2
-2
@@ -12,8 +12,8 @@ export class LocationControls {
|
||||
onSearch,
|
||||
onReset,
|
||||
doc = document,
|
||||
requestFrame = requestAnimationFrame,
|
||||
cancelFrame = cancelAnimationFrame,
|
||||
requestFrame = (callback) => requestAnimationFrame(callback),
|
||||
cancelFrame = (id) => cancelAnimationFrame(id),
|
||||
}) {
|
||||
Object.assign(this, {
|
||||
elements,
|
||||
|
||||
Reference in new issue
Block a user