From d0d0384bdb58328b0b8c8f3e40412fec3ca78253 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Mon, 30 Jun 2025 17:21:40 -0400 Subject: [PATCH] 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. --- src/messagecontent/VideoComponent.qml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/messagecontent/VideoComponent.qml b/src/messagecontent/VideoComponent.qml index 6c4e12fc4..5d4100648 100644 --- a/src/messagecontent/VideoComponent.qml +++ b/src/messagecontent/VideoComponent.qml @@ -99,6 +99,10 @@ Video { target: downloadBar visible: true } + PropertyChanges { + target: mediaThumbnail + visible: true + } }, State { name: "paused" @@ -229,8 +233,7 @@ Video { anchors.fill: parent visible: false - color: Kirigami.Theme.backgroundColor - radius: Kirigami.Units.cornerRadius + color: Qt.alpha(Kirigami.Theme.backgroundColor, 0.25) QQC2.ProgressBar { anchors.centerIn: parent