feat(StatusChatListCategoryItemButton): introduce `highglighted` property

This commit is contained in:
Pascal Precht 2021-06-08 13:24:59 +02:00 committed by Pascal Precht
parent 916dcc9c7f
commit 645a3b79a2
1 changed files with 2 additions and 1 deletions

View File

@ -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"