mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 19:21:16 +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
|
height: 92
|
||||||
|
|
||||||
Behavior on y {
|
Behavior on y {
|
||||||
SpringAnimation {
|
NumberAnimation {
|
||||||
spring: 2; damping: 0.2
|
duration: 100
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,12 @@ ShadowGlyph {
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Behavior on y {
|
||||||
|
NumberAnimation {
|
||||||
|
duration: 100
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
text: isPrevious ? "E" : "D";
|
text: isPrevious ? "E" : "D";
|
||||||
width: 40
|
width: 40
|
||||||
height: 40
|
height: 40
|
||||||
|
|
Loading…
Reference in a new issue