mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 08:04:01 +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: favoriteAvatarImage; dropShadowRadius: 10 }
|
||||
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 {
|
||||
id: getMoreAvatarsImage
|
||||
width: 92
|
||||
height: 92
|
||||
radius: 5
|
||||
|
@ -756,7 +765,9 @@ Rectangle {
|
|||
}
|
||||
|
||||
MouseArea {
|
||||
id: getMoreAvatarsMouseArea
|
||||
anchors.fill: parent
|
||||
hoverEnabled: true
|
||||
|
||||
onClicked: {
|
||||
popup.showBuyAvatars(function() {
|
||||
|
|
Loading…
Reference in a new issue