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, 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,