From 631e5711d1376043c0d9c1149eb78c59aaec2fda Mon Sep 17 00:00:00 2001 From: nathan Date: Thu, 15 Jun 2023 04:46:25 +0000 Subject: [PATCH] gah --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 413d8f5..2f154f5 100644 --- a/main.go +++ b/main.go @@ -126,7 +126,7 @@ func NewAnimation(sz image.Point, mqMessages chan mqtt.Message) *Animation { rawMario, _, err = image.Decode(reader) //marioDown := imaging.FlipH(imaging.Resize(rawMario, 16, 16, imaging.Lanczos)) marioDown := imaging.Resize(rawMario, 16, 16, imaging.Lanczos) - images := []image.Image{marioUp, marioDown, nil} + images := []image.Image{marioUp, marioDown} return &Animation{ ctx: gg.NewContext(sz.X, sz.Y), dir: image.Point{1, 1},