diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-03 00:21:36 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-03 00:21:36 +1000 |
| commit | 7b35c23bd0d2e4ce1e3a30a8953669762e409972 (patch) | |
| tree | 8d5bc75a09186c8b0596645a545a6b47a896fdda /components/filedialog/FolderContents.qml | |
| parent | lock/notifs: fix undef error (diff) | |
| download | caelestia-shell-7b35c23bd0d2e4ce1e3a30a8953669762e409972.tar.gz caelestia-shell-7b35c23bd0d2e4ce1e3a30a8953669762e409972.tar.bz2 caelestia-shell-7b35c23bd0d2e4ce1e3a30a8953669762e409972.zip | |
plugin/fsm: incremental updates
Diffstat (limited to 'components/filedialog/FolderContents.qml')
| -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 + } } } |