From 4c9a11b02d1190639dd597f295ba753f1ec9d10a Mon Sep 17 00:00:00 2001 From: Reion Wong Date: Thu, 3 Sep 2026 00:51:39 -0400 Subject: [PATCH] fix(shutdown-ui): size the background from the window device pixel ratio --- shutdown-ui/main.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shutdown-ui/main.qml b/shutdown-ui/main.qml index a548dcc..a87e34f 100644 --- a/shutdown-ui/main.qml +++ b/shutdown-ui/main.qml @@ -53,8 +53,8 @@ ApplicationWindow { id: wallpaperImage anchors.fill: parent source: "file://" + wallpaper.path - sourceSize: Qt.size(width * Screen.devicePixelRatio, - height * Screen.devicePixelRatio) + sourceSize: Qt.size(width * FishUI.Dpi.ratio, + height * FishUI.Dpi.ratio) fillMode: Image.PreserveAspectCrop asynchronous: false clip: true