This commit is contained in:
zhuzihcu 2023-04-20 11:06:24 +08:00
parent 3291b3a882
commit 3049be128f
2 changed files with 4 additions and 4 deletions

View File

@ -48,7 +48,7 @@ Item {
rightMargin: 15
}
color:{
if(root_mouse.containsMouse){
if(root_mouse.containsMouse || hovered){
return FluTheme.dark ? Qt.rgba(73/255,73/255,73/255,1) : Qt.rgba(245/255,245/255,245/255,1)
}
return FluTheme.dark ? Qt.rgba(0,0,0,0) : Qt.rgba(0,0,0,0)

View File

@ -28,7 +28,7 @@ Item{
visible: opacity
opacity: statusMode === FluStatusView.Loading
Behavior on opacity {
NumberAnimation { duration: 150 }
NumberAnimation { duration: 83 }
}
ColumnLayout{
anchors.centerIn: parent
@ -51,7 +51,7 @@ Item{
visible: opacity
opacity: statusMode === FluStatusView.Empty
Behavior on opacity {
NumberAnimation { duration: 150 }
NumberAnimation { duration: 83 }
}
ColumnLayout{
anchors.centerIn: parent
@ -71,7 +71,7 @@ Item{
visible: opacity
opacity: statusMode === FluStatusView.Error
Behavior on opacity {
NumberAnimation { duration: 150 }
NumberAnimation { duration: 83 }
}
ColumnLayout{
anchors.centerIn: parent