From cb1a5865cc00783118417a8547710d0c1bfc4c4b Mon Sep 17 00:00:00 2001 From: miruka Date: Thu, 16 Apr 2020 13:36:47 -0400 Subject: [PATCH] Fix unread indicator "appear" animation --- src/gui/MainPane/Room.qml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/gui/MainPane/Room.qml b/src/gui/MainPane/Room.qml index 4cbb508d..5fd65408 100644 --- a/src/gui/MainPane/Room.qml +++ b/src/gui/MainPane/Room.qml @@ -52,10 +52,13 @@ HTileDelegate { rightPadding: leftPadding scale: model.unreads === 0 ? 0 : 1 - visible: scale > 0 background: Rectangle { - color: model.mentions === 0 ? theme.colors.unreadBackground : theme.colors.alertBackground + color: + model.mentions === 0 ? + theme.colors.unreadBackground : + theme.colors.alertBackground + radius: theme.radius / 4 }