fix pixels staying on after render

This commit is contained in:
2023-12-21 18:27:10 -05:00
parent babd5d8253
commit 6516c40862
5 changed files with 51 additions and 3 deletions
+1
View File
@@ -27,6 +27,7 @@ func (s *Segment) Draw(canvas *rgbmatrix.Canvas, x, y int) {
func drawRow(canvas *rgbmatrix.Canvas, row []color.RGBA, x, y int) {
for i := 0; i < len(row); i++ {
canvas.Set(x+i, y, color.Black)
canvas.Set(x+i, y, row[i])
}
}