can't find what's causing the fill
All checks were successful
build rgb-board / build (push) Successful in 2m5s

This commit is contained in:
2024-02-16 04:27:14 +00:00
parent 2ac3a92b7a
commit 0f4addd5db
2 changed files with 2 additions and 1 deletions

View File

@@ -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 {