Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'master' into master
  • Loading branch information
dbseel authored May 12, 2022
commit 2caf35ea27dfc886d4b27e9a6f65960bd514ffaf
5 changes: 2 additions & 3 deletions packages/rrweb/src/record/observers/canvas/webgl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,8 @@ function patchGLPrototype(
return function (this: typeof prototype, ...args: Array<unknown>) {
const result = original.apply(this, args);
saveWebGLVar(result, win, prototype);
if (!isBlocked(this.canvas, blockClass, blockSelector)) {
const id = mirror.getId(this.canvas);

if (!isBlocked(this.canvas as HTMLCanvasElement, blockClass, blockSelector)) {
const id = mirror.getId(this.canvas as HTMLCanvasElement);
const recordArgs = serializeArgs([...args], win, prototype);
const mutation: canvasMutationWithType = {
type,
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.