diff --git a/animateDoorbell.go b/animateDoorbell.go index 8fbf3d0..ada7c9d 100644 --- a/animateDoorbell.go +++ b/animateDoorbell.go @@ -28,7 +28,7 @@ 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.Clear() a.ctx.SetColor(color.Black) a.ctx.SetColor(color.White) + a.ctx.Clear() }