mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-05 19:04: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,
|
onSearch,
|
||||||
onReset,
|
onReset,
|
||||||
doc = document,
|
doc = document,
|
||||||
requestFrame = requestAnimationFrame,
|
requestFrame = (callback) => requestAnimationFrame(callback),
|
||||||
cancelFrame = cancelAnimationFrame,
|
cancelFrame = (id) => cancelAnimationFrame(id),
|
||||||
}) {
|
}) {
|
||||||
Object.assign(this, {
|
Object.assign(this, {
|
||||||
elements,
|
elements,
|
||||||
|
|||||||
Reference in new issue
Block a user