mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-19 04:37:51 -06:00
Add easing and make animation less snappy and awesome
Contributes to CL-1151
This commit is contained in:
parent
2f6a274c0e
commit
3bd5d141ab
1 changed files with 8 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue