1 parent f68fb78 commit a6a51a0Copy full SHA for a6a51a0
1 file changed
modules/dashboard/Tabs.qml
@@ -121,6 +121,7 @@ Item {
121
implicitWidth: Math.max(icon.width, label.width)
122
implicitHeight: icon.height + label.height
123
124
+ hoverEnabled: true
125
cursorShape: Qt.PointingHandCursor
126
127
onPressed: event => {
@@ -190,7 +191,7 @@ Item {
190
191
anchors.fill: parent
192
193
color: tab.current ? Colours.palette.m3primary : Colours.palette.m3onSurface
- opacity: mouse.pressed ? 0.1 : tab.hovered ? 0.08 : 0
194
+ opacity: mouse.pressed ? 0.1 : mouse.containsMouse ? 0.08 : 0
195
196
Behavior on opacity {
197
Anim {}
0 commit comments