From a1ecb77f198dcacbd4678586c03304a9554300f9 Mon Sep 17 00:00:00 2001 From: Pascal Precht Date: Tue, 8 Jun 2021 13:24:59 +0200 Subject: [PATCH] feat(StatusChatListCategoryItemButton): introduce `highglighted` property --- .../src/StatusQ/Controls/StatusChatListCategoryItemButton.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/StatusQ/src/StatusQ/Controls/StatusChatListCategoryItemButton.qml b/ui/StatusQ/src/StatusQ/Controls/StatusChatListCategoryItemButton.qml index b529465a56..6feee2cc53 100644 --- a/ui/StatusQ/src/StatusQ/Controls/StatusChatListCategoryItemButton.qml +++ b/ui/StatusQ/src/StatusQ/Controls/StatusChatListCategoryItemButton.qml @@ -8,13 +8,14 @@ StatusFlatRoundButton { width: 22 radius: 4 + property bool highlighted: false property alias tooltip: statusToolTip type: StatusFlatRoundButton.Type.Secondary icon.width: 20 icon.color: Theme.palette.directColor4 - color: hovered ? + color: hovered || highlighted ? Theme.palette.statusChatListCategoryItem.buttonHoverBackgroundColor : "transparent"