diff --git a/Modules/Lock/LockSurface.qml b/Modules/Lock/LockSurface.qml index ad16bc4..aecb5be 100644 --- a/Modules/Lock/LockSurface.qml +++ b/Modules/Lock/LockSurface.qml @@ -149,9 +149,34 @@ WlSessionLockSurface { Image { id: background + anchors.bottomMargin: -8 - lockContent.positions[lockContent.positionIndex].y anchors.fill: parent + anchors.leftMargin: -8 + lockContent.positions[lockContent.positionIndex].x + anchors.rightMargin: -8 - lockContent.positions[lockContent.positionIndex].x + anchors.topMargin: -8 + lockContent.positions[lockContent.positionIndex].y fillMode: Image.PreserveAspectCrop source: WallpaperPath.lockscreenBg + + Behavior on anchors.bottomMargin { + Anim { + duration: 5000 + } + } + Behavior on anchors.leftMargin { + Anim { + duration: 5000 + } + } + Behavior on anchors.rightMargin { + Anim { + duration: 5000 + } + } + Behavior on anchors.topMargin { + Anim { + duration: 5000 + } + } } Item {