diff --git a/animateDoorbell.go b/animateDoorbell.go index 8105b5a..afdba6b 100644 --- a/animateDoorbell.go +++ b/animateDoorbell.go @@ -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) }