Skip to content

Commit

Permalink
fix: ignore external style on canvas image (#22297)
Browse files Browse the repository at this point in the history
  • Loading branch information
daibhin committed May 15, 2024
1 parent d5acfa7 commit de0b78b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ export const CanvasReplayerPlugin = (events: eventWithTime[]): ReplayPlugin => {
const img = containers.get(e.data.id)
if (img) {
img.src = target.toDataURL('image/jpeg', 0.6)
img.style.width = 'initial'
img.style.height = 'initial'
}
}
},
Expand Down

0 comments on commit de0b78b

Please sign in to comment.