You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @mcuadros. If a user of this package wants to get the image currently showing on the matrix (for example by using the draw package) he is not able to do so. The reason for this is located in this single line. After rendering, the led buffer is re-allocated and thus initialised with zero values. So after calling the Render() method on a matrix (or canvas), you only get 0 (color.Black). An easy fix is to just remove the mentioned line and keep the led buffer filled. Since users will usually just draw over with new content, this shouldn't be an issue.
Any hints or other ideas on this? I can also prepare a PR if you want to.
The text was updated successfully, but these errors were encountered:
Hi @mcuadros. If a user of this package wants to get the image currently showing on the matrix (for example by using the
draw
package) he is not able to do so. The reason for this is located in this single line. After rendering, the led buffer is re-allocated and thus initialised with zero values. So after calling theRender()
method on a matrix (or canvas), you only get 0 (color.Black
). An easy fix is to just remove the mentioned line and keep the led buffer filled. Since users will usually just draw over with new content, this shouldn't be an issue.Any hints or other ideas on this? I can also prepare a PR if you want to.
The text was updated successfully, but these errors were encountered: