proper image scaling with screen scaling (#3036, #3037)

This commit is contained in:
end-4
2026-05-04 09:20:12 +02:00
parent c652d2a7f3
commit f992294ec2
16 changed files with 20 additions and 41 deletions
@@ -33,7 +33,7 @@ LockScreen {
interactables.switchToFocusedView();
}
Image {
StyledImage {
id: bg
z: 0
width: parent.width
@@ -46,7 +46,6 @@ LockScreen {
openAnim.restart();
}
}
sourceSize: Qt.size(lockSurfaceItem.width, lockSurfaceItem.height)
source: Config.options.background.wallpaperPath
fillMode: Image.PreserveAspectCrop