From def2635ac201927de1fd19f75b14294a0020285b Mon Sep 17 00:00:00 2001 From: Michael Fitzurka Date: Thu, 7 Jul 2022 10:15:11 -0400 Subject: [PATCH] Ignore aspect ratio on background image Fixes #327 --- comictaggerlib/imagepopup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comictaggerlib/imagepopup.py b/comictaggerlib/imagepopup.py index ff72c51..1c63cfa 100644 --- a/comictaggerlib/imagepopup.py +++ b/comictaggerlib/imagepopup.py @@ -51,7 +51,7 @@ class ImagePopup(QtWidgets.QDialog): self.clientBgPixmap = bg.scaled( screen_size.width(), screen_size.height(), - QtCore.Qt.AspectRatioMode.KeepAspectRatio, + QtCore.Qt.AspectRatioMode.IgnoreAspectRatio, QtCore.Qt.SmoothTransformation, ) self.setMask(self.clientBgPixmap.mask())