Fix instalock and add entry animation to wallpaper
This commit is contained in:
2
Lock.qml
2
Lock.qml
@@ -79,7 +79,7 @@ WlSessionLock {
|
|||||||
ClippingRectangle {
|
ClippingRectangle {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
color: "white"
|
color: "white"
|
||||||
opacity: !lock.animate || capture.ready
|
opacity: capture.ready
|
||||||
radius: 0
|
radius: 0
|
||||||
RectangularShadow {
|
RectangularShadow {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|||||||
29
Wall.qml
29
Wall.qml
@@ -30,10 +30,35 @@ Variants {
|
|||||||
}
|
}
|
||||||
radius: 40
|
radius: 40
|
||||||
PropertyAnimation on radius {
|
PropertyAnimation on radius {
|
||||||
|
id: radiusAnimation
|
||||||
|
running: false
|
||||||
to: 14
|
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()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user