feat(StatusChatListCategoryItemButton): introduce `highglighted` property
This commit is contained in:
parent
9ae468a70b
commit
a1ecb77f19
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in New Issue