From c64a6bfe42c5757617fedcb4c44a9f91260a4378 Mon Sep 17 00:00:00 2001 From: nathan wagner Date: Fri, 16 Feb 2024 15:47:08 +0000 Subject: [PATCH] fully removing context stuff. --- animateDoorbell.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/animateDoorbell.go b/animateDoorbell.go index 4da00ee..4e1398f 100644 --- a/animateDoorbell.go +++ b/animateDoorbell.go @@ -22,12 +22,10 @@ func (a *Animation) animateDoorbell() { } else { a.doorbell = Doorbell{} a.countDown = 5000 - //a.ctx.Pop() } } func (a *Animation) loadImage(imgType string, img string) { baseImage, _ := b64.StdEncoding.DecodeString(img) bigImage, _, _ := image.Decode(bytes.NewReader(baseImage)) a.doorbell.image = imaging.Resize(bigImage, 64, 64, imaging.Lanczos) - //a.ctx.Push() }