diff --git a/animateDoorbell.go b/animateDoorbell.go index ada7c9d..41db878 100644 --- a/animateDoorbell.go +++ b/animateDoorbell.go @@ -15,6 +15,8 @@ type Doorbell struct { func (a *Animation) animateDoorbell() { if a.countDown > 0 { + a.ctx.SetColor(color.Black) + a.ctx.Clear() a.ctx.DrawImageAnchored(a.doorbell.image, 0, 0, 0, 0) a.countDown -= 50 } else { diff --git a/board.go b/board.go index b5c312f..20fb325 100644 --- a/board.go +++ b/board.go @@ -51,7 +51,6 @@ func (a *Animation) Next() (image.Image, <-chan time.Time, error) { default: a.animateMario() } - //a.ctx.SetColor(color.White) select { case msg := <-a.mqmsg: json.Unmarshal([]byte(string(msg.Payload())), &incoming)