1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-09-15 06:52:34 +02:00

Add little fade in animation

This commit is contained in:
Elias 2018-12-17 21:08:56 +01:00
parent 620a34baf3
commit 8b727d6c1b

View File

@ -113,6 +113,7 @@ Item {
footer: Item {
property bool isVisible: true
height: 100
opacity: 0
visible: isVisible
width: parent.width
@ -121,6 +122,23 @@ Item {
text: qsTr("Get more Wallpaper & Widgets via the Steam workshop!")
anchors.centerIn: parent
color: "gray"
Timer {
interval: 400
running: true
onTriggered: {
animFadeInTxtFooter.start()
}
}
PropertyAnimation on opacity {
id:animFadeInTxtFooter
from:0
to:1
running: false
duration: 1000
}
}
}
property bool isDragging: false