Queue draw after setting paintable (#309)
Without this, the animation is not rendered on the screen.
This commit is contained in:
@@ -117,6 +117,7 @@ class GameCover:
|
|||||||
else:
|
else:
|
||||||
for picture in self.pictures:
|
for picture in self.pictures:
|
||||||
picture.set_paintable(texture or self.placeholder)
|
picture.set_paintable(texture or self.placeholder)
|
||||||
|
picture.queue_draw()
|
||||||
|
|
||||||
def update_animation(self, data: GdkPixbuf.PixbufAnimation) -> None:
|
def update_animation(self, data: GdkPixbuf.PixbufAnimation) -> None:
|
||||||
if self.animation == data[1]:
|
if self.animation == data[1]:
|
||||||
|
|||||||
Reference in New Issue
Block a user