fix(StatusNavigationListItem): unbreak hovering over settings menu items
- fixes regression when hover wouldn't work if the menu item contained a beta tag Fixes #16263
This commit is contained in:
parent
32d50d6e86
commit
6b8702b0b2
|
@ -21,13 +21,11 @@ StatusListItem {
|
||||||
|
|
||||||
statusListItemIcon.anchors.topMargin: 14
|
statusListItemIcon.anchors.topMargin: 14
|
||||||
|
|
||||||
highlighted: sensor.containsMouse
|
|
||||||
|
|
||||||
color: {
|
color: {
|
||||||
if (selected) {
|
if (selected) {
|
||||||
return Theme.palette.statusNavigationListItem.selectedBackgroundColor
|
return Theme.palette.statusNavigationListItem.selectedBackgroundColor
|
||||||
}
|
}
|
||||||
return highlighted ?
|
return highlighted || sensor.containsMouse ?
|
||||||
Theme.palette.statusNavigationListItem.hoverBackgroundColor :
|
Theme.palette.statusNavigationListItem.hoverBackgroundColor :
|
||||||
Theme.palette.baseColor4
|
Theme.palette.baseColor4
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue