summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-24 16:42:03 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-24 16:42:03 +1000
commit9dcdee9cfcade554748b3f5d16696ad7f0b7def9 (patch)
treed3d23d96600eeccac56d61f41e263f8ca761b5da /components
parentbar: better handling for named workspaces (diff)
downloadcaelestia-shell-9dcdee9cfcade554748b3f5d16696ad7f0b7def9.tar.gz
caelestia-shell-9dcdee9cfcade554748b3f5d16696ad7f0b7def9.tar.bz2
caelestia-shell-9dcdee9cfcade554748b3f5d16696ad7f0b7def9.zip
internal: add anim component
No inlining
Diffstat (limited to 'components')
-rw-r--r--components/Anim.qml8
-rw-r--r--components/StateLayer.qml6
-rw-r--r--components/filedialog/FolderContents.qml6
3 files changed, 8 insertions, 12 deletions
diff --git a/components/Anim.qml b/components/Anim.qml
new file mode 100644
index 0000000..6883a79
--- /dev/null
+++ b/components/Anim.qml
@@ -0,0 +1,8 @@
+import qs.config
+import QtQuick
+
+NumberAnimation {
+ duration: Appearance.anim.durations.normal
+ easing.type: Easing.BezierSpline
+ easing.bezierCurve: Appearance.anim.curves.standard
+}
diff --git a/components/StateLayer.qml b/components/StateLayer.qml
index da30217..aa7041c 100644
--- a/components/StateLayer.qml
+++ b/components/StateLayer.qml
@@ -94,10 +94,4 @@ MouseArea {
}
}
}
-
- component Anim: NumberAnimation {
- duration: Appearance.anim.durations.normal
- easing.type: Easing.BezierSpline
- easing.bezierCurve: Appearance.anim.curves.standard
- }
}
diff --git a/components/filedialog/FolderContents.qml b/components/filedialog/FolderContents.qml
index be82879..1f67cd3 100644
--- a/components/filedialog/FolderContents.qml
+++ b/components/filedialog/FolderContents.qml
@@ -215,10 +215,4 @@ Item {
currentItem: view.currentItem
}
-
- component Anim: NumberAnimation {
- duration: Appearance.anim.durations.normal
- easing.type: Easing.BezierSpline
- easing.bezierCurve: Appearance.anim.curves.standard
- }
}