diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-04-30 14:31:48 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-04-30 14:31:48 +1000 |
| commit | bdad4c47c42646ab8d1f406bcde55a3680cd9a9f (patch) | |
| tree | e3a62cb6fa2d4938edff047a6bd0681e55d12bc7 /widgets/StyledText.qml | |
| parent | bar: fix workspaces anims (diff) | |
| download | caelestia-shell-bdad4c47c42646ab8d1f406bcde55a3680cd9a9f.tar.gz caelestia-shell-bdad4c47c42646ab8d1f406bcde55a3680cd9a9f.tar.bz2 caelestia-shell-bdad4c47c42646ab8d1f406bcde55a3680cd9a9f.zip | |
bar: elide active window title
Diffstat (limited to 'widgets/StyledText.qml')
| -rw-r--r-- | widgets/StyledText.qml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/widgets/StyledText.qml b/widgets/StyledText.qml index e8fc714..fc4ad40 100644 --- a/widgets/StyledText.qml +++ b/widgets/StyledText.qml @@ -7,7 +7,8 @@ Text { id: root property bool animate: false - property string animateProp: "opacity" + property string animateProp: "scale" + property int animateDuration: Appearance.anim.durations.normal renderType: Text.NativeRendering color: Appearance.colours.text @@ -41,7 +42,7 @@ Text { component Anim: NumberAnimation { target: root property: root.animateProp - duration: Appearance.anim.durations.small + duration: root.animateDuration / 2 easing.type: Easing.BezierSpline } } |