summaryrefslogtreecommitdiff
path: root/widgets/StyledRect.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-04-29 15:37:29 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-04-29 15:37:29 +1000
commita33cd21fc7e6ba0bc20e48b9e5e43cc30d70a015 (patch)
tree5700e81c7c74bb765c76053cd31d9b0148b6a2f6 /widgets/StyledRect.qml
parentfeat: bar network icon (diff)
downloadcaelestia-shell-a33cd21fc7e6ba0bc20e48b9e5e43cc30d70a015.tar.gz
caelestia-shell-a33cd21fc7e6ba0bc20e48b9e5e43cc30d70a015.tar.bz2
caelestia-shell-a33cd21fc7e6ba0bc20e48b9e5e43cc30d70a015.zip
feat: animated text changes
Diffstat (limited to 'widgets/StyledRect.qml')
-rw-r--r--widgets/StyledRect.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/widgets/StyledRect.qml b/widgets/StyledRect.qml
index f9d6ad1..07c1e77 100644
--- a/widgets/StyledRect.qml
+++ b/widgets/StyledRect.qml
@@ -4,7 +4,7 @@ import QtQuick
Rectangle {
id: root
- property bool animated: false
+ property bool animate: false
property bool vertical: false // Convenience property for propagation to children
color: "transparent"
@@ -20,7 +20,7 @@ Rectangle {
}
Behavior on implicitWidth {
- enabled: root.animated
+ enabled: root.animate
NumberAnimation {
duration: Appearance.anim.durations.normal
@@ -30,7 +30,7 @@ Rectangle {
}
Behavior on implicitHeight {
- enabled: root.animated
+ enabled: root.animate
NumberAnimation {
duration: Appearance.anim.durations.normal