wallpaper: limit source size
Also animate launcher and osd background colours
This commit is contained in:
parent
97ea9d4992
commit
57f815bdc8
3 changed files with 18 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue