fix(ProfileShowcase): Fix blinking when hovering over an address (#13865)

#13681
This commit is contained in:
Andrey Bocharnikov 2024-03-08 19:21:08 +04:00 committed by GitHub
parent 29c61d8135
commit 058b08d3c9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 2 deletions

View File

@ -216,7 +216,7 @@ ItemDelegate {
\qmlproperty alias StatusDraggableListItem::containsMouse \qmlproperty alias StatusDraggableListItem::containsMouse
Used to read if the component cotains mouse Used to read if the component cotains mouse
*/ */
readonly property alias containsMouse: dragHandler.containsMouse readonly property alias containsMouse: hoverHandler.hovered
/*! /*!
\qmlproperty bool StatusDraggableListItem::changeColorOnDragActive \qmlproperty bool StatusDraggableListItem::changeColorOnDragActive
@ -270,7 +270,6 @@ ItemDelegate {
drag.target: root.dragEnabled ? root : null drag.target: root.dragEnabled ? root : null
drag.axis: root.dragAxis drag.axis: root.dragAxis
preventStealing: true // otherwise DND is broken inside a Flickable/ScrollView preventStealing: true // otherwise DND is broken inside a Flickable/ScrollView
hoverEnabled: true
cursorShape: { cursorShape: {
if (!root.enabled) if (!root.enabled)
return undefined return undefined
@ -417,4 +416,7 @@ ItemDelegate {
asset.bgWidth: 40 asset.bgWidth: 40
} }
} }
HoverHandler {
id: hoverHandler
}
} }