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:
Lukáš Tinkl 2024-09-04 11:06:47 +02:00 committed by Lukáš Tinkl
parent 32d50d6e86
commit 6b8702b0b2
1 changed files with 1 additions and 3 deletions

View File

@ -21,13 +21,11 @@ StatusListItem {
statusListItemIcon.anchors.topMargin: 14
highlighted: sensor.containsMouse
color: {
if (selected) {
return Theme.palette.statusNavigationListItem.selectedBackgroundColor
}
return highlighted ?
return highlighted || sensor.containsMouse ?
Theme.palette.statusNavigationListItem.hoverBackgroundColor :
Theme.palette.baseColor4
}