Improve the look of loading videos
The video thumbnail is no longer hidden while loading. This makes it look less buggy (like NeoChat forgot what the thumbnail was) while loading a large video. To help with contrast, a slight background tint is added.
This commit is contained in:
@@ -99,6 +99,10 @@ Video {
|
|||||||
target: downloadBar
|
target: downloadBar
|
||||||
visible: true
|
visible: true
|
||||||
}
|
}
|
||||||
|
PropertyChanges {
|
||||||
|
target: mediaThumbnail
|
||||||
|
visible: true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
State {
|
State {
|
||||||
name: "paused"
|
name: "paused"
|
||||||
@@ -229,8 +233,7 @@ Video {
|
|||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
visible: false
|
visible: false
|
||||||
|
|
||||||
color: Kirigami.Theme.backgroundColor
|
color: Qt.alpha(Kirigami.Theme.backgroundColor, 0.25)
|
||||||
radius: Kirigami.Units.cornerRadius
|
|
||||||
|
|
||||||
QQC2.ProgressBar {
|
QQC2.ProgressBar {
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
|
|||||||
Reference in New Issue
Block a user