Ignore aspect ratio on background image

Fixes #327
This commit is contained in:
Michael Fitzurka 2022-07-07 10:15:11 -04:00 committed by Timmy Welch
parent b72fcaa9a9
commit def2635ac2

View File

@ -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())