mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 16:14:01 +02:00
cr feedback -- really good feedback in fact
This commit is contained in:
parent
ae5f9e4fb1
commit
a9716313be
1 changed files with 2 additions and 1 deletions
|
@ -246,7 +246,7 @@ Column {
|
|||
id: anim;
|
||||
target: scroll;
|
||||
property: "contentX";
|
||||
duration: 500;
|
||||
duration: 250;
|
||||
}
|
||||
function scrollToIndex(index) {
|
||||
anim.running = false;
|
||||
|
@ -256,6 +256,7 @@ Column {
|
|||
destPos = scroll.contentX;
|
||||
anim.from = pos;
|
||||
anim.to = destPos;
|
||||
scroll.currentIndex = index;
|
||||
anim.running = true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue