From a6a51a0b881525388572ef4ff211d00618dfd598 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sat, 18 Apr 2026 02:28:00 +1000 Subject: [PATCH] fix: dash tab hover --- modules/dashboard/Tabs.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/dashboard/Tabs.qml b/modules/dashboard/Tabs.qml index 32e8c469..5bf99ca3 100644 --- a/modules/dashboard/Tabs.qml +++ b/modules/dashboard/Tabs.qml @@ -121,6 +121,7 @@ Item { implicitWidth: Math.max(icon.width, label.width) implicitHeight: icon.height + label.height + hoverEnabled: true cursorShape: Qt.PointingHandCursor onPressed: event => { @@ -190,7 +191,7 @@ Item { anchors.fill: parent color: tab.current ? Colours.palette.m3primary : Colours.palette.m3onSurface - opacity: mouse.pressed ? 0.1 : tab.hovered ? 0.08 : 0 + opacity: mouse.pressed ? 0.1 : mouse.containsMouse ? 0.08 : 0 Behavior on opacity { Anim {}