Skip to content

Commit

Permalink
console.time not being logged
Browse files Browse the repository at this point in the history
  • Loading branch information
svanherk committed Aug 4, 2023
1 parent 412c482 commit d1fe36b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/browser/reset.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ export async function reset(opts) {
if (shouldResetMouse) {
shouldResetMouse = false;
console.log('resetting mouse');
console.time('mouse');
const start = new Date().getTime();
await sendMouse({ type: 'move', position: [0, 0] }).catch(() => {});
console.timeEnd('mouse');
console.log('took', new Date().getTime() - start);
}

if (document.activeElement !== document.body) {
Expand Down

0 comments on commit d1fe36b

Please sign in to comment.