mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 18:23:22 +02:00
fix 'card moves rapidly between hover and non-hover'
This commit is contained in:
parent
73ec34825b
commit
462d2d5d80
1 changed files with 2 additions and 0 deletions
|
@ -599,6 +599,7 @@ Rectangle {
|
|||
State {
|
||||
name: "hovered"
|
||||
when: favoriteAvatarMouseArea.containsMouse;
|
||||
PropertyChanges { target: favoriteAvatarMouseArea; anchors.bottomMargin: -5 }
|
||||
PropertyChanges { target: container; y: -5 }
|
||||
PropertyChanges { target: favoriteAvatarImage; dropShadowRadius: 10 }
|
||||
PropertyChanges { target: favoriteAvatarImage; dropShadowVerticalOffset: 6 }
|
||||
|
@ -625,6 +626,7 @@ Rectangle {
|
|||
MouseArea {
|
||||
id: favoriteAvatarMouseArea
|
||||
anchors.fill: parent
|
||||
anchors.margins: 0
|
||||
enabled: !container.highlighted
|
||||
hoverEnabled: enabled
|
||||
|
||||
|
|
Loading…
Reference in a new issue