summaryrefslogtreecommitdiff
path: root/modules/controlcenter/components/PaneTransition.qml
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2026-03-16 17:07:54 -0400
committerFreya Murphy <freya@freyacat.org>2026-03-16 17:07:54 -0400
commitbb6717666a669aa81cda28896ed292ca5af55ece (patch)
tree5f3c5fed20fd3bf8fe38e10d7e09b81558c64a79 /modules/controlcenter/components/PaneTransition.qml
parentadd date to clock (diff)
downloadcaelestia-shell-bb6717666a669aa81cda28896ed292ca5af55ece.tar.gz
caelestia-shell-bb6717666a669aa81cda28896ed292ca5af55ece.tar.bz2
caelestia-shell-bb6717666a669aa81cda28896ed292ca5af55ece.zip
change things
Diffstat (limited to 'modules/controlcenter/components/PaneTransition.qml')
-rw-r--r--modules/controlcenter/components/PaneTransition.qml71
1 files changed, 0 insertions, 71 deletions
diff --git a/modules/controlcenter/components/PaneTransition.qml b/modules/controlcenter/components/PaneTransition.qml
deleted file mode 100644
index 5d80dbe..0000000
--- a/modules/controlcenter/components/PaneTransition.qml
+++ /dev/null
@@ -1,71 +0,0 @@
-pragma ComponentBehavior: Bound
-
-import qs.config
-import QtQuick
-
-SequentialAnimation {
- id: root
-
- required property Item target
- property list<PropertyAction> propertyActions
-
- property real scaleFrom: 1.0
- property real scaleTo: 0.8
- property real opacityFrom: 1.0
- property real opacityTo: 0.0
-
- ParallelAnimation {
- NumberAnimation {
- target: root.target
- property: "opacity"
- from: root.opacityFrom
- to: root.opacityTo
- duration: Appearance.anim.durations.normal / 2
- easing.type: Easing.BezierSpline
- easing.bezierCurve: Appearance.anim.curves.standardAccel
- }
-
- NumberAnimation {
- target: root.target
- property: "scale"
- from: root.scaleFrom
- to: root.scaleTo
- duration: Appearance.anim.durations.normal / 2
- easing.type: Easing.BezierSpline
- easing.bezierCurve: Appearance.anim.curves.standardAccel
- }
- }
-
- ScriptAction {
- script: {
- for (let i = 0; i < root.propertyActions.length; i++) {
- const action = root.propertyActions[i];
- if (action.target && action.property !== undefined) {
- action.target[action.property] = action.value;
- }
- }
- }
- }
-
- ParallelAnimation {
- NumberAnimation {
- target: root.target
- property: "opacity"
- from: root.opacityTo
- to: root.opacityFrom
- duration: Appearance.anim.durations.normal / 2
- easing.type: Easing.BezierSpline
- easing.bezierCurve: Appearance.anim.curves.standardDecel
- }
-
- NumberAnimation {
- target: root.target
- property: "scale"
- from: root.scaleTo
- to: root.scaleFrom
- duration: Appearance.anim.durations.normal / 2
- easing.type: Easing.BezierSpline
- easing.bezierCurve: Appearance.anim.curves.standardDecel
- }
- }
-}