summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/background/Wallpaper.qml2
-rw-r--r--modules/launcher/Background.qml8
-rw-r--r--modules/osd/Background.qml8
3 files changed, 18 insertions, 0 deletions
diff --git a/modules/background/Wallpaper.qml b/modules/background/Wallpaper.qml
index b126617..2ffc922 100644
--- a/modules/background/Wallpaper.qml
+++ b/modules/background/Wallpaper.qml
@@ -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)
diff --git a/modules/launcher/Background.qml b/modules/launcher/Background.qml
index 7dce14a..e7104ba 100644
--- a/modules/launcher/Background.qml
+++ b/modules/launcher/Background.qml
@@ -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
+ }
+ }
}
}
diff --git a/modules/osd/Background.qml b/modules/osd/Background.qml
index a24e3fb..1c5c957 100644
--- a/modules/osd/Background.qml
+++ b/modules/osd/Background.qml
@@ -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
+ }
+ }
}
}