Skip to content

Conversation

@Fozei
Copy link
Contributor

@Fozei Fozei commented Sep 12, 2025

When the background color is set with a transparency parameter (such as "transparent" or when the fourth parameter of rgba is not 1), the canvas retains previously drawn content.

Reproduction steps:

  1. set gridBackgroundColor to "transparent"
  2. Set the grid.data array to a new array that its length shorter than it was previously.

When the background color is set with a transparency parameter (such as "transparent" or when the fourth parameter of rgba is not 1), the canvas retains previously drawn content.
@TonyGermaneri TonyGermaneri merged commit 249b89b into TonyGermaneri:master Sep 18, 2025
1 check passed
@TonyGermaneri
Copy link
Owner

Thanks for the fix!

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.

2 participants