forked from Shinonome/dots-hyprland
background: fix blurry background when scaled
This commit is contained in:
@@ -191,7 +191,6 @@ Variants {
|
|||||||
x: -(bgRoot.movableXSpace) - (effectiveValueX - 0.5) * 2 * bgRoot.movableXSpace
|
x: -(bgRoot.movableXSpace) - (effectiveValueX - 0.5) * 2 * bgRoot.movableXSpace
|
||||||
y: -(bgRoot.movableYSpace) - (effectiveValueY - 0.5) * 2 * bgRoot.movableYSpace
|
y: -(bgRoot.movableYSpace) - (effectiveValueY - 0.5) * 2 * bgRoot.movableYSpace
|
||||||
source: bgRoot.wallpaperPath
|
source: bgRoot.wallpaperPath
|
||||||
fillMode: Image.PreserveAspectCrop
|
|
||||||
Behavior on x {
|
Behavior on x {
|
||||||
NumberAnimation {
|
NumberAnimation {
|
||||||
duration: 600
|
duration: 600
|
||||||
@@ -205,9 +204,11 @@ Variants {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
sourceSize {
|
sourceSize {
|
||||||
width: bgRoot.screen.width * bgRoot.effectiveWallpaperScale
|
width: bgRoot.screen.width * bgRoot.effectiveWallpaperScale * bgRoot.monitor.scale
|
||||||
height: bgRoot.screen.height * bgRoot.effectiveWallpaperScale
|
height: bgRoot.screen.height * bgRoot.effectiveWallpaperScale * bgRoot.monitor.scale
|
||||||
}
|
}
|
||||||
|
width: bgRoot.screen.width * bgRoot.effectiveWallpaperScale
|
||||||
|
height: bgRoot.screen.height * bgRoot.effectiveWallpaperScale
|
||||||
}
|
}
|
||||||
|
|
||||||
// The clock
|
// The clock
|
||||||
|
|||||||
Reference in New Issue
Block a user