This commit is contained in:
kramo
2023-04-11 20:57:11 +02:00
parent 984249c05b
commit a08ed1d4c2
9 changed files with 55 additions and 90 deletions

View File

@@ -63,9 +63,6 @@ class GameCover:
str(path), 200, 300, False
)
if not self.pixbuf:
self.pixbuf = self.placeholder_pixbuf
if not self.animation:
self.set_pixbuf(self.pixbuf)
@@ -77,6 +74,8 @@ class GameCover:
def set_pixbuf(self, pixbuf):
if self.picture.is_visible():
if not pixbuf:
pixbuf = self.placeholder_pixbuf
self.picture.set_pixbuf(pixbuf)
else:
self.animation = None