set color black
build rgb-board / build (push) Successful in 7m59s Details

main
Nathan Wagner 9 months ago
parent 18b2875ddf
commit 7a02239545

@ -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)
}

Loading…
Cancel
Save