mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 17:14:59 +02:00
Merge pull request #13670 from ElderOrb/animate_get_more_avatars
Avatarapp: hover animation for 'get more avatars' button
This commit is contained in:
commit
09d1964f1d
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