diff --git a/Lock.qml b/Lock.qml index 639f0bb..2e3b683 100644 --- a/Lock.qml +++ b/Lock.qml @@ -79,7 +79,7 @@ WlSessionLock { ClippingRectangle { anchors.fill: parent color: "white" - opacity: !lock.animate || capture.ready + opacity: capture.ready radius: 0 RectangularShadow { anchors.fill: parent diff --git a/Wall.qml b/Wall.qml index 0d93209..5e49bca 100644 --- a/Wall.qml +++ b/Wall.qml @@ -30,10 +30,35 @@ Variants { } radius: 40 PropertyAnimation on radius { + id: radiusAnimation + running: false to: 14 - duration: 300 + duration: 1000 } - property real intro_progress: 0 + transform: [ + Translate { + y: 160 + PropertyAnimation on y { + duration: 500 + to: 0 + easing.type: Easing.OutCubic + onFinished: scaleAnimation.start() + } + }, + Scale { + origin { x: width/2; y: height/2 } + xScale: 0.8 + yScale: xScale + PropertyAnimation on xScale { + id: scaleAnimation + running: false + duration: 1000 + to: 1 + easing.type: Easing.InOutCubic + onStarted: radiusAnimation.start() + } + } + ] } } }