From 666fe08208e65210e1245cbb90466e77a0908493 Mon Sep 17 00:00:00 2001 From: Martin Wagner Date: Thu, 26 May 2022 15:58:50 +0200 Subject: [PATCH] fixed cover aspect ratio to 1 --- src/mpdevil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mpdevil.py b/src/mpdevil.py index 128c661..056ba10 100755 --- a/src/mpdevil.py +++ b/src/mpdevil.py @@ -2946,7 +2946,7 @@ class CoverLyricsWindow(Gtk.Overlay): self._client.emitter.connect("reconnected", self._on_reconnected) # packing - self.add(main_cover) + self.add(Gtk.AspectFrame(child=main_cover, shadow_type=Gtk.ShadowType.NONE)) self.add_overlay(self._stack) self.add_overlay(self._lyrics_button_revealer)