fix: dash tab hover

This commit is contained in:
2 * r + 2 * t 2026-04-18 02:28:00 +10:00
parent f68fb78c80
commit a6a51a0b88

View file

@ -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 {}