summaryrefslogtreecommitdiff
path: root/components/filedialog
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-24 17:22:00 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-24 17:22:00 +1000
commit6e8a32d4e40e25e1c077394f1638a43176ebf9ed (patch)
tree26704741e0c3a41a9ca461c7bc148f58553bf8f7 /components/filedialog
parentinternal: add canim component (diff)
downloadcaelestia-shell-6e8a32d4e40e25e1c077394f1638a43176ebf9ed.tar.gz
caelestia-shell-6e8a32d4e40e25e1c077394f1638a43176ebf9ed.tar.bz2
caelestia-shell-6e8a32d4e40e25e1c077394f1638a43176ebf9ed.zip
internal: use Anim component
Diffstat (limited to 'components/filedialog')
-rw-r--r--components/filedialog/CurrentItem.qml12
-rw-r--r--components/filedialog/Sidebar.qml6
2 files changed, 3 insertions, 15 deletions
diff --git a/components/filedialog/CurrentItem.qml b/components/filedialog/CurrentItem.qml
index bb4d55e..c06c91f 100644
--- a/components/filedialog/CurrentItem.qml
+++ b/components/filedialog/CurrentItem.qml
@@ -86,18 +86,10 @@ Item {
Behavior on implicitWidth {
enabled: !!root.currentItem
- NumberAnimation {
- duration: Appearance.anim.durations.normal
- easing.type: Easing.BezierSpline
- easing.bezierCurve: Appearance.anim.curves.standard
- }
+ Anim {}
}
Behavior on implicitHeight {
- NumberAnimation {
- duration: Appearance.anim.durations.normal
- easing.type: Easing.BezierSpline
- easing.bezierCurve: Appearance.anim.curves.standard
- }
+ Anim {}
}
}
diff --git a/components/filedialog/Sidebar.qml b/components/filedialog/Sidebar.qml
index e9a15bd..b55d7b3 100644
--- a/components/filedialog/Sidebar.qml
+++ b/components/filedialog/Sidebar.qml
@@ -95,11 +95,7 @@ StyledRect {
fill: place.selected ? 1 : 0
Behavior on fill {
- NumberAnimation {
- duration: Appearance.anim.durations.normal
- easing.type: Easing.BezierSpline
- easing.bezierCurve: Appearance.anim.curves.standard
- }
+ Anim {}
}
}