From d28b9901cbe40df8aabb400c1847bc0ea2dc0da5 Mon Sep 17 00:00:00 2001 From: Martin Wagner Date: Sat, 23 Apr 2022 13:25:43 +0200 Subject: [PATCH] load svg at sufficient size --- src/mpdevil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mpdevil.py b/src/mpdevil.py index f61ad02..2f5eef7 100755 --- a/src/mpdevil.py +++ b/src/mpdevil.py @@ -2877,7 +2877,7 @@ class MainCover(Gtk.DrawingArea): self._client.emitter.connect("reconnected", self._on_reconnected) def _clear(self): - self._pixbuf=GdkPixbuf.Pixbuf.new_from_file(FALLBACK_COVER) + self._pixbuf=GdkPixbuf.Pixbuf.new_from_file_at_size(FALLBACK_COVER, 1000, 1000) self._surface=Gdk.cairo_surface_create_from_pixbuf(self._pixbuf, 0, None) self.queue_draw()