From 6b8702b0b2468cbd776a4f30c3979f374c8bfb78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Tinkl?= Date: Wed, 4 Sep 2024 11:06:47 +0200 Subject: [PATCH] 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 --- .../src/StatusQ/Components/StatusNavigationListItem.qml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ui/StatusQ/src/StatusQ/Components/StatusNavigationListItem.qml b/ui/StatusQ/src/StatusQ/Components/StatusNavigationListItem.qml index 703db15618..36f1454702 100644 --- a/ui/StatusQ/src/StatusQ/Components/StatusNavigationListItem.qml +++ b/ui/StatusQ/src/StatusQ/Components/StatusNavigationListItem.qml @@ -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 }