fix(contextMenu): make menu item hover work and change color
This commit is contained in:
parent
5d59cb3870
commit
ce774a4dae
|
@ -85,7 +85,7 @@ PopupMenu {
|
|||
visible: messageContextMenu.isProfile
|
||||
width: 200
|
||||
height: visible ? profileImage.height + username.height + Style.current.padding : 0
|
||||
color: hovered ? Style.current.secondaryBackground : Style.current.transparent
|
||||
color: hovered ? Style.current.backgroundHover : Style.current.transparent
|
||||
|
||||
StatusImageIdenticon {
|
||||
id: profileImage
|
||||
|
|
|
@ -115,7 +115,7 @@ Menu {
|
|||
background: Rectangle {
|
||||
implicitWidth: 220
|
||||
implicitHeight: enabled ? 24 : 0
|
||||
color: popupMenuItem.highlighted ? popupMenuItem.hoverColor : "transparent"
|
||||
color: popupMenuItem.hovered ? popupMenuItem.hoverColor : "transparent"
|
||||
}
|
||||
MouseArea {
|
||||
cursorShape: Qt.PointingHandCursor
|
||||
|
|
Loading…
Reference in New Issue