Skip to content

Commit

Permalink
fix: canvas client size (#21538)
Browse files Browse the repository at this point in the history
  • Loading branch information
daibhin authored Apr 15, 2024
1 parent ddbb0df commit be94bc0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ export const CanvasReplayerPlugin = (events: eventWithTime[]): ReplayPlugin => {
return
}

target.width = source.width
target.height = source.height
target.width = source.clientWidth
target.height = source.clientHeight

await canvasMutation({
event: e,
Expand Down

0 comments on commit be94bc0

Please sign in to comment.