fix: invoke Location animation scheduling through window functions

This commit is contained in:
Sameh Khamis committed 2026-09-12 22:58:02 -07:00
1 parent 7485565975
commit 63e5352964
1 file changed
+2 -2
+2 -2
View File
@@ -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,