mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 17:39:03 +08:00
Add easing and make animation less snappy and awesome
Contributes to CL-1151
This commit is contained in:
parent
2f6a274c0e
commit
3bd5d141ab
@ -108,7 +108,14 @@ Item
|
|||||||
width: 5 * tileWidth + 4 * tileSpacing
|
width: 5 * tileWidth + 4 * tileSpacing
|
||||||
x: 0
|
x: 0
|
||||||
z: 0
|
z: 0
|
||||||
Behavior on x { NumberAnimation { duration: 100 } }
|
Behavior on x
|
||||||
|
{
|
||||||
|
NumberAnimation
|
||||||
|
{
|
||||||
|
duration: 200
|
||||||
|
easing.type: Easing.InOutCubic
|
||||||
|
}
|
||||||
|
}
|
||||||
spacing: 60 * screenScaleFactor // TODO: Theme!
|
spacing: 60 * screenScaleFactor // TODO: Theme!
|
||||||
|
|
||||||
Repeater
|
Repeater
|
||||||
|
Loading…
x
Reference in New Issue
Block a user