order matters
build rgb-board / build (push) Successful in 2m17s Details

main
Nathan Wagner 9 months ago
parent fd94207114
commit 6ac630cd57

@ -28,7 +28,7 @@ func (a *Animation) loadImage(imgType string, img string) {
bigImage, _, _ := image.Decode(bytes.NewReader(baseImage)) bigImage, _, _ := image.Decode(bytes.NewReader(baseImage))
a.doorbell.image = imaging.Resize(bigImage, 64, 64, imaging.Lanczos) a.doorbell.image = imaging.Resize(bigImage, 64, 64, imaging.Lanczos)
a.ctx.Push() a.ctx.Push()
a.ctx.Clear()
a.ctx.SetColor(color.Black) a.ctx.SetColor(color.Black)
a.ctx.SetColor(color.White) a.ctx.SetColor(color.White)
a.ctx.Clear()
} }

Loading…
Cancel
Save