hover panels: use HoverHandler instead of MouseArea for hover tracking
This commit is contained in:
parent
4fa08f9748
commit
9874a9c094
3 changed files with 6 additions and 12 deletions
|
|
@ -170,10 +170,8 @@ M.BarSection {
|
|||
onFinished: panel._winVisible = false
|
||||
}
|
||||
|
||||
MouseArea {
|
||||
anchors.fill: parent
|
||||
hoverEnabled: true
|
||||
onContainsMouseChanged: root._panelHovered = containsMouse
|
||||
HoverHandler {
|
||||
onHoveredChanged: root._panelHovered = hovered
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue