summaryrefslogtreecommitdiff
path: root/modules/lock/LockSurface.qml
diff options
context:
space:
mode:
Diffstat (limited to 'modules/lock/LockSurface.qml')
-rw-r--r--modules/lock/LockSurface.qml10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/lock/LockSurface.qml b/modules/lock/LockSurface.qml
index 1b98c2c..4751c70 100644
--- a/modules/lock/LockSurface.qml
+++ b/modules/lock/LockSurface.qml
@@ -62,6 +62,7 @@ WlSessionLockSurface {
id: backgrounds
locked: root.locked
+ weatherWidth: weather.implicitWidth
visible: false
}
@@ -89,6 +90,15 @@ WlSessionLockSurface {
lock: root
}
+ WeatherInfo {
+ id: weather
+
+ anchors.top: parent.bottom
+ anchors.right: parent.left
+ anchors.topMargin: -backgrounds.weatherTop
+ anchors.rightMargin: -backgrounds.weatherRight
+ }
+
component Anim: NumberAnimation {
duration: Appearance.anim.durations.large
easing.type: Easing.BezierSpline