Queue draw after setting paintable (#309)

Without this, the animation is not rendered on the screen.
This commit is contained in:
Balló György
2024-11-03 11:45:23 +01:00
committed by GitHub
parent c25573d198
commit d0042d443b

View File

@@ -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]: