mirror of
https://github.com/altlinux/ALTMediaWriter.git
synced 2024-10-26 17:25:05 +03:00
disable and hide footer while downloading metadata
fade it in when downloaded
This commit is contained in:
parent
14ff5b9328
commit
dc573e264b
@ -172,6 +172,7 @@ FocusScope {
|
||||
Rectangle {
|
||||
id: frontFooter
|
||||
|
||||
|
||||
clip: true
|
||||
activeFocusOnTab: true
|
||||
radius: 3
|
||||
@ -180,6 +181,15 @@ FocusScope {
|
||||
height: 32
|
||||
z: -1
|
||||
|
||||
// Disable and hide footer until releases are loaded and then fade it in.
|
||||
enabled: !releases.beingUpdated
|
||||
opacity: releases.beingUpdated ? 0.0 : 1.0
|
||||
Behavior on opacity {
|
||||
NumberAnimation {
|
||||
duration: 600
|
||||
}
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
anchors.fill: parent
|
||||
anchors.topMargin: -10
|
||||
|
Loading…
Reference in New Issue
Block a user