From d0042d443bc99f2a81dd7811f7091f1bc4dfd0d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= Date: Sun, 3 Nov 2024 11:45:23 +0100 Subject: [PATCH] Queue draw after setting paintable (#309) Without this, the animation is not rendered on the screen. --- cartridges/game_cover.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cartridges/game_cover.py b/cartridges/game_cover.py index 46dd674..e6518f9 100644 --- a/cartridges/game_cover.py +++ b/cartridges/game_cover.py @@ -117,6 +117,7 @@ class GameCover: else: for picture in self.pictures: picture.set_paintable(texture or self.placeholder) + picture.queue_draw() def update_animation(self, data: GdkPixbuf.PixbufAnimation) -> None: if self.animation == data[1]: