Skip to content

Commit

Permalink
fixed fallback cover in browser
Browse files Browse the repository at this point in the history
  • Loading branch information
SoongNoonien committed Nov 1, 2024
1 parent 7edf6e0 commit d17e17e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plattenalbum.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit d17e17e

Please sign in to comment.