Skip to content

Conversation

@Tyriar
Copy link
Member

@Tyriar Tyriar commented Oct 13, 2022

putImageData works a little differently to drawImage which confused me for a bit, you need to offset the destination as putImageData draws the 'dirty' parts of the texture using the same source image dimensions

Fixes #4197

putImageData works a little differently to drawImage which confused me
for a bit, you need to offset the destination as putImageData draws the
'dirty' parts of the texture using the same source image dimensions

Fixes xtermjs#4197
@Tyriar Tyriar added this to the 5.1.0 milestone Oct 13, 2022
@Tyriar Tyriar self-assigned this Oct 13, 2022
@Tyriar Tyriar enabled auto-merge October 13, 2022 13:26
@Tyriar Tyriar mentioned this pull request Oct 13, 2022
@Tyriar Tyriar merged commit 1e6dfec into xtermjs:master Oct 13, 2022
@Tyriar Tyriar deleted the 4197_2 branch October 13, 2022 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

_clipImageData is GC expensive

1 participant