fix(shutdown-ui): size the background from the window device pixel ratio

main
Reion Wong 3 weeks ago
parent 4210f6b34c
commit 4c9a11b02d

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

Loading…
Cancel
Save