mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 18:13:47 +02:00
use numeric animation for avatar bookmark & page indicator
This commit is contained in:
parent
3c78ba0060
commit
fdd7644cba
2 changed files with 8 additions and 2 deletions
|
@ -619,8 +619,8 @@ Rectangle {
|
|||
height: 92
|
||||
|
||||
Behavior on y {
|
||||
SpringAnimation {
|
||||
spring: 2; damping: 0.2
|
||||
NumberAnimation {
|
||||
duration: 100
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -18,6 +18,12 @@ ShadowGlyph {
|
|||
}
|
||||
]
|
||||
|
||||
Behavior on y {
|
||||
NumberAnimation {
|
||||
duration: 100
|
||||
}
|
||||
}
|
||||
|
||||
text: isPrevious ? "E" : "D";
|
||||
width: 40
|
||||
height: 40
|
||||
|
|
Loading…
Reference in a new issue