use numeric animation for avatar bookmark & page indicator

This commit is contained in:
Alexander Ivash 2018-05-22 01:18:19 +03:00
parent 3c78ba0060
commit fdd7644cba
2 changed files with 8 additions and 2 deletions

View file

@ -619,8 +619,8 @@ Rectangle {
height: 92
Behavior on y {
SpringAnimation {
spring: 2; damping: 0.2
NumberAnimation {
duration: 100
}
}

View file

@ -18,6 +18,12 @@ ShadowGlyph {
}
]
Behavior on y {
NumberAnimation {
duration: 100
}
}
text: isPrevious ? "E" : "D";
width: 40
height: 40