From 7b35c23bd0d2e4ce1e3a30a8953669762e409972 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Wed, 3 Sep 2025 00:21:36 +1000 Subject: plugin/fsm: incremental updates --- components/filedialog/FolderContents.qml | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) (limited to 'components/filedialog') 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 + } } } -- cgit v1.2.3-freya