diff options
Diffstat (limited to 'components')
| -rw-r--r-- | components/filedialog/FolderContents.qml | 29 |
1 files changed, 27 insertions, 2 deletions
diff --git a/components/filedialog/FolderContents.qml b/components/filedialog/FolderContents.qml index 126703e..7765a6a 100644 --- a/components/filedialog/FolderContents.qml +++ b/components/filedialog/FolderContents.qml @@ -179,13 +179,38 @@ Item { } } - populate: Transition { + add: Transition { + Anim { + properties: "opacity,scale" + from: 0 + to: 1 + duration: Appearance.anim.durations.expressiveDefaultSpatial + easing.bezierCurve: Appearance.anim.curves.expressiveDefaultSpatial + } + } + + remove: Transition { + Anim { + property: "opacity" + to: 0 + } Anim { property: "scale" - from: 0.7 + to: 0.5 + } + } + + displaced: Transition { + Anim { + properties: "opacity,scale" to: 1 easing.bezierCurve: Appearance.anim.curves.standardDecel } + Anim { + properties: "x,y" + duration: Appearance.anim.durations.expressiveDefaultSpatial + easing.bezierCurve: Appearance.anim.curves.expressiveDefaultSpatial + } } } |