Add blur animation

pull/1/head
reionwong 4 years ago
parent 904e2178e3
commit 4c64acf589

@ -55,12 +55,21 @@ Item {
FastBlur {
id: wallpaperBlur
anchors.fill: parent
radius: 64
radius: 0
source: wallpaperImage
cached: true
visible: true
}
NumberAnimation {
id: blurAni
target: wallpaperBlur
property: "radius"
duration: 300
from: 10
to: 64
}
Accounts.UserAccount {
id: currentUser
}
@ -79,6 +88,8 @@ Item {
Component.onCompleted: {
timeLabel.updateInfo()
dateLabel.updateInfo()
blurAni.start()
}
Item {

Loading…
Cancel
Save