Skip to content

Clearing canvas buffer in ArduinoLEDMatrix::clear() in addition to frame buffer #335

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 10, 2024

Conversation

stefanmarks
Copy link
Contributor

@stefanmarks stefanmarks commented Jun 9, 2024

In the 1.2.0 update, the override of ArduinoLEDMatrix::clear() only cleared the frame buffer, but not the canvas buffer (Issue #336).
This resulted in pixels staying on in animations using matrix.beginDraw(), matrix.set(x, y, r, g, b), matrix.endDraw() even after a call to clear().

@CLAassistant
Copy link

CLAassistant commented Jun 9, 2024

CLA assistant check
All committers have signed the CLA.

@per1234 per1234 added type: imperfection Perceived defect in any part of project topic: code Related to content of the project itself labels Jun 9, 2024
@facchinm facchinm merged commit f91d573 into arduino:main Jun 10, 2024
7 checks passed
delta-G pushed a commit to delta-G/ArduinoCore-renesas that referenced this pull request Jun 29, 2024
…ame buffer (arduino#335)

* Also clearing canvas buffer in ArduinoLEDMatrix::clear()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

v1.2.0 breaks matrix.clear() when using Arduino R4 LED Matrix with matrix.set(...)
4 participants