Add easing and make animation less snappy and awesome

Contributes to CL-1151
This commit is contained in:
Ian Paschal 2018-12-14 15:39:17 +01:00
parent 2f6a274c0e
commit 3bd5d141ab

View file

@ -108,7 +108,14 @@ Item
width: 5 * tileWidth + 4 * tileSpacing
x: 0
z: 0
Behavior on x { NumberAnimation { duration: 100 } }
Behavior on x
{
NumberAnimation
{
duration: 200
easing.type: Easing.InOutCubic
}
}
spacing: 60 * screenScaleFactor // TODO: Theme!
Repeater