fix: dash tab hover
This commit is contained in:
parent
f68fb78c80
commit
a6a51a0b88
1 changed files with 2 additions and 1 deletions
|
|
@ -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 {}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue