Fix instalock and add entry animation to wallpaper
This commit is contained in:
29
Wall.qml
29
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()
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user