From b36160d9e7a205c14f35edca3b11983eb34663d9 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sun, 8 Sep 2024 16:11:57 +0900 Subject: [PATCH] internal/restorable: bug fix: make all the images stale correctly --- internal/restorable/images.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/restorable/images.go b/internal/restorable/images.go index 67fe301f1..4943c0cee 100644 --- a/internal/restorable/images.go +++ b/internal/restorable/images.go @@ -90,7 +90,7 @@ func resolveStaleImages(graphicsDriver graphicsdriver.Graphics, endFrame bool) e if disabled.Load() { disabledOnce.Do(func() { for img := range theImages.images { - img.makeStale(image.Rectangle{}) + img.makeStale(image.Rect(0, 0, img.width, img.height)) } }) }