mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-06-16 00:08:48 +02:00
Avatarapp: hover animate 'get more avatars'
This commit is contained in:
parent
d1da7675f6
commit
091de4a9b5
1 changed files with 11 additions and 0 deletions
|
@ -682,6 +682,14 @@ Rectangle {
|
||||||
PropertyChanges { target: container; y: -5 }
|
PropertyChanges { target: container; y: -5 }
|
||||||
PropertyChanges { target: favoriteAvatarImage; dropShadowRadius: 10 }
|
PropertyChanges { target: favoriteAvatarImage; dropShadowRadius: 10 }
|
||||||
PropertyChanges { target: favoriteAvatarImage; dropShadowVerticalOffset: 6 }
|
PropertyChanges { target: favoriteAvatarImage; dropShadowVerticalOffset: 6 }
|
||||||
|
},
|
||||||
|
State {
|
||||||
|
name: "getMoreAvatarsHovered"
|
||||||
|
when: getMoreAvatarsMouseArea.containsMouse;
|
||||||
|
PropertyChanges { target: getMoreAvatarsMouseArea; anchors.bottomMargin: -5 }
|
||||||
|
PropertyChanges { target: container; y: -5 }
|
||||||
|
PropertyChanges { target: getMoreAvatarsImage; dropShadowRadius: 10 }
|
||||||
|
PropertyChanges { target: getMoreAvatarsImage; dropShadowVerticalOffset: 6 }
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -741,6 +749,7 @@ Rectangle {
|
||||||
}
|
}
|
||||||
|
|
||||||
ShadowRectangle {
|
ShadowRectangle {
|
||||||
|
id: getMoreAvatarsImage
|
||||||
width: 92
|
width: 92
|
||||||
height: 92
|
height: 92
|
||||||
radius: 5
|
radius: 5
|
||||||
|
@ -756,7 +765,9 @@ Rectangle {
|
||||||
}
|
}
|
||||||
|
|
||||||
MouseArea {
|
MouseArea {
|
||||||
|
id: getMoreAvatarsMouseArea
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
hoverEnabled: true
|
||||||
|
|
||||||
onClicked: {
|
onClicked: {
|
||||||
popup.showBuyAvatars(function() {
|
popup.showBuyAvatars(function() {
|
||||||
|
|
Loading…
Reference in a new issue