Skip to content

Commit

Permalink
style: pass whole object
Browse files Browse the repository at this point in the history
  • Loading branch information
bvandercar-vt committed May 7, 2024
1 parent f26497c commit 0aa252d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/spoof.ts
Original file line number Diff line number Diff line change
Expand Up @@ -287,9 +287,7 @@ export const createCursor = (
try {
if (!moving) {
const rand = await getRandomPagePoint(page)
await tracePath(path(previous, rand, {
moveSpeed: options?.moveSpeed
}), true)
await tracePath(path(previous, rand, options), true)
previous = rand
}

Expand Down

0 comments on commit 0aa252d

Please sign in to comment.