Animate avatar placeholder colors

This commit is contained in:
miruka 2020-03-21 14:47:43 -04:00
parent e67624020b
commit ac85935236

View File

@ -32,6 +32,8 @@ Rectangle {
readonly property alias circleRadius: avatarImage.circleRadius readonly property alias circleRadius: avatarImage.circleRadius
Behavior on color { HColorAnimation {} }
HLabel { HLabel {
z: 1 z: 1
anchors.centerIn: parent anchors.centerIn: parent
@ -46,6 +48,8 @@ Rectangle {
theme.controls.avatar.letter.lightness, theme.controls.avatar.letter.lightness,
theme.controls.avatar.letter.opacity theme.controls.avatar.letter.opacity
) )
Behavior on color { HColorAnimation {} }
} }
HMxcImage { HMxcImage {