We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
int
1 parent 1e4883c commit 1c53f05Copy full SHA for 1c53f05
tagstudio/src/qt/ts_qt.py
@@ -293,13 +293,15 @@ def start(self) -> None:
293
splash_pixmap = QPixmap(":/images/splash.png")
294
splash_pixmap.setDevicePixelRatio(self.main_window.devicePixelRatio())
295
splash_pixmap = splash_pixmap.scaledToWidth(
296
- min(
297
- (
298
- QGuiApplication.primaryScreen().geometry().width()
299
- * self.main_window.devicePixelRatio()
+ math.floor(
+ min(
+ (
+ QGuiApplication.primaryScreen().geometry().width()
300
+ * self.main_window.devicePixelRatio()
301
+ )
302
+ / 4,
303
+ splash_pixmap.width(),
304
)
- // 4,
- splash_pixmap.width(),
305
),
306
Qt.TransformationMode.SmoothTransformation,
307
0 commit comments