cleanup
All checks were successful
build rgb-board / build (push) Successful in 1m51s

This commit is contained in:
2024-02-16 04:32:50 +00:00
parent 0f4addd5db
commit eab6b0d26f

View File

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