summaryrefslogtreecommitdiff
path: root/modules/controlcenter/components/PaneTransition.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2026-01-28 19:21:44 +1100
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2026-01-28 19:21:44 +1100
commit9d7f0c48cebec02aaf2ca780b89a763ce91f8624 (patch)
tree2345921b670f730268203020e754465503707ed3 /modules/controlcenter/components/PaneTransition.qml
parentcontrolcenter: remove qt5compat dep (diff)
downloadcaelestia-shell-9d7f0c48cebec02aaf2ca780b89a763ce91f8624.tar.gz
caelestia-shell-9d7f0c48cebec02aaf2ca780b89a763ce91f8624.tar.bz2
caelestia-shell-9d7f0c48cebec02aaf2ca780b89a763ce91f8624.zip
internal: format
Diffstat (limited to 'modules/controlcenter/components/PaneTransition.qml')
-rw-r--r--modules/controlcenter/components/PaneTransition.qml13
1 files changed, 6 insertions, 7 deletions
diff --git a/modules/controlcenter/components/PaneTransition.qml b/modules/controlcenter/components/PaneTransition.qml
index d1814b5..5d80dbe 100644
--- a/modules/controlcenter/components/PaneTransition.qml
+++ b/modules/controlcenter/components/PaneTransition.qml
@@ -8,12 +8,12 @@ SequentialAnimation {
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
@@ -24,7 +24,7 @@ SequentialAnimation {
easing.type: Easing.BezierSpline
easing.bezierCurve: Appearance.anim.curves.standardAccel
}
-
+
NumberAnimation {
target: root.target
property: "scale"
@@ -35,7 +35,7 @@ SequentialAnimation {
easing.bezierCurve: Appearance.anim.curves.standardAccel
}
}
-
+
ScriptAction {
script: {
for (let i = 0; i < root.propertyActions.length; i++) {
@@ -46,7 +46,7 @@ SequentialAnimation {
}
}
}
-
+
ParallelAnimation {
NumberAnimation {
target: root.target
@@ -57,7 +57,7 @@ SequentialAnimation {
easing.type: Easing.BezierSpline
easing.bezierCurve: Appearance.anim.curves.standardDecel
}
-
+
NumberAnimation {
target: root.target
property: "scale"
@@ -69,4 +69,3 @@ SequentialAnimation {
}
}
}
-