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.
1 parent b1406fc commit 4ffa069Copy full SHA for 4ffa069
quickshell/Modules/WallpaperBackground.qml
@@ -216,8 +216,9 @@ Variants {
216
}
217
218
readonly property int maxTextureSize: 8192
219
- property int textureWidth: Math.min(modelData.width, maxTextureSize)
220
- property int textureHeight: Math.min(modelData.height, maxTextureSize)
+ property real screenScale: CompositorService.getScreenScale(modelData)
+ property int textureWidth: Math.min(Math.round(modelData.width * screenScale), maxTextureSize)
221
+ property int textureHeight: Math.min(Math.round(modelData.height * screenScale), maxTextureSize)
222
223
Image {
224
id: currentWallpaper
0 commit comments