wallpaper: limit source size

Also animate launcher and osd background colours
This commit is contained in:
2 * r + 2 * t 2025-05-05 17:15:10 +10:00
parent 97ea9d4992
commit 57f815bdc8
3 changed files with 18 additions and 0 deletions

View file

@ -43,6 +43,8 @@ Item {
fillMode: Image.PreserveAspectCrop
opacity: 0
scale: Wallpapers.showPreview ? 1 : 0.8
sourceSize.width: width
sourceSize.height: height
onStatusChanged: {
if (status === Image.Ready)

View file

@ -58,5 +58,13 @@ Shape {
radiusY: root.roundingY
direction: PathArc.Counterclockwise
}
Behavior on fillColor {
ColorAnimation {
duration: Appearance.anim.durations.normal
easing.type: Easing.BezierSpline
easing.bezierCurve: Appearance.anim.curves.standard
}
}
}
}

View file

@ -58,5 +58,13 @@ Shape {
radiusX: root.roundingX
radiusY: root.rounding
}
Behavior on fillColor {
ColorAnimation {
duration: Appearance.anim.durations.normal
easing.type: Easing.BezierSpline
easing.bezierCurve: Appearance.anim.curves.standard
}
}
}
}