From d17e17e0d416044292c6bff0e5e05267c5061428 Mon Sep 17 00:00:00 2001 From: Martin Wagner Date: Fri, 1 Nov 2024 13:21:56 +0100 Subject: [PATCH] fixed fallback cover in browser --- src/plattenalbum.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plattenalbum.py b/src/plattenalbum.py index 054ba98..ad04195 100755 --- a/src/plattenalbum.py +++ b/src/plattenalbum.py @@ -1371,7 +1371,7 @@ def do_measure(self, orientation, for_size): return (for_size, for_size, -1, -1) def set_paintable(self, paintable): - if paintable.get_width()/paintable.get_height() >= 1: + if paintable.get_intrinsic_width()/paintable.get_intrinsic_height() >= 1: self._picture.set_halign(Gtk.Align.FILL) self._picture.set_valign(Gtk.Align.CENTER) else: