From ac85935236599cb97a90671a4e630b31582e5b16 Mon Sep 17 00:00:00 2001 From: miruka Date: Sat, 21 Mar 2020 14:47:43 -0400 Subject: [PATCH] Animate avatar placeholder colors --- src/gui/Base/HAvatar.qml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gui/Base/HAvatar.qml b/src/gui/Base/HAvatar.qml index 9c71a137..1c418881 100644 --- a/src/gui/Base/HAvatar.qml +++ b/src/gui/Base/HAvatar.qml @@ -32,6 +32,8 @@ Rectangle { readonly property alias circleRadius: avatarImage.circleRadius + Behavior on color { HColorAnimation {} } + HLabel { z: 1 anchors.centerIn: parent @@ -46,6 +48,8 @@ Rectangle { theme.controls.avatar.letter.lightness, theme.controls.avatar.letter.opacity ) + + Behavior on color { HColorAnimation {} } } HMxcImage {