Skip to content

Commit

Permalink
Simplify capture
Browse files Browse the repository at this point in the history
  • Loading branch information
etimberg committed Dec 10, 2022
1 parent 521b7ef commit b8333aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers/helpers.extras.ts
Expand Up @@ -32,7 +32,7 @@ export function throttled<TArgs extends Array<any>>(

return function(...args: TArgs) {
// Save the args for use later
argsToUse = Array.from(args) as TArgs;
argsToUse = args;
if (!ticking) {
ticking = true;
requestAnimFrame.call(window, () => {
Expand Down

0 comments on commit b8333aa

Please sign in to comment.