From bdad4c47c42646ab8d1f406bcde55a3680cd9a9f Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Wed, 30 Apr 2025 14:31:48 +1000 Subject: bar: elide active window title --- widgets/StyledText.qml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'widgets/StyledText.qml') 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 } } -- cgit v1.2.3-freya