Skip to content

Commit

Permalink
forgot a spot
Browse files Browse the repository at this point in the history
  • Loading branch information
michellewzhang committed May 28, 2024
1 parent 52e4399 commit 07d1d67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/rrweb/src/replay/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1168,7 +1168,7 @@ export class Replayer {
break;
}
case IncrementalSource.MouseInteraction: {
const pointerId = d.pointerId ?? Object.keys(this.pointers).length;
const pointerId = d.pointerId ?? -1;
if (!this.pointers[pointerId]) {
this.createPointer(pointerId);
}
Expand Down

0 comments on commit 07d1d67

Please sign in to comment.