feat(StatusChatListCategoryItemButton): introduce `highglighted` property

This commit is contained in:
Pascal Precht 2021-06-08 13:24:59 +02:00 committed by Michał Cieślak
parent 9ae468a70b
commit a1ecb77f19
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"