trying to fix the hovercolor not changing

This commit is contained in:
Chris Cochrun 2023-11-20 09:19:32 -06:00
parent 0a55062cd0
commit a1ecfaaef9

View file

@ -75,10 +75,11 @@ Controls.Page {
height: parent.height height: parent.height
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter
width: parent.width / 4 width: parent.width / 4
color: parent.Controls.SplitHandle.hovered ? Kirigami.Theme.hoverColor : "#00000000" color: area.containsMouse ? Kirigami.Theme.hoverColor : "#00000000"
} }
MouseArea { MouseArea {
id: area
anchors.fill: parent anchors.fill: parent
enabled: false enabled: false
hoverEnabled: true hoverEnabled: true