apparently need to clear, context not what expected
build rgb-board / build (push) Successful in 2m1s Details

main
Nathan Wagner 9 months ago
parent bf1c448a84
commit 18b2875ddf

@ -27,4 +27,5 @@ 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()
} }

Loading…
Cancel
Save