This commit is contained in:
@@ -28,5 +28,4 @@ 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 = gg.NewContext(64, 128)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user