set color black
All checks were successful
build rgb-board / build (push) Successful in 7m59s

This commit is contained in:
2024-02-16 02:27:45 +00:00
parent 18b2875ddf
commit 7a02239545

View File

@@ -4,6 +4,7 @@ import (
"bytes"
b64 "encoding/base64"
"image"
"image/color"
"github.com/disintegration/imaging"
)
@@ -28,4 +29,5 @@ func (a *Animation) loadImage(imgType string, img string) {
a.doorbell.image = imaging.Resize(bigImage, 64, 64, imaging.Lanczos)
a.ctx.Push()
a.ctx.Clear()
a.ctx.SetColor(color.Black)
}