diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-06 18:15:06 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-06 18:15:06 +1000 |
| commit | bdd37012bb1e855220e465fa6db101bed0cc4992 (patch) | |
| tree | 9a33eab811458934a1fb1c09067d0aebf91bad47 /widgets | |
| parent | launcher: use qsTr properly (diff) | |
| download | caelestia-shell-bdd37012bb1e855220e465fa6db101bed0cc4992.tar.gz caelestia-shell-bdd37012bb1e855220e465fa6db101bed0cc4992.tar.bz2 caelestia-shell-bdd37012bb1e855220e465fa6db101bed0cc4992.zip | |
refactor: popout layer consistency with border
Make them use the same background colour and rounding as the border
Diffstat (limited to 'widgets')
| -rw-r--r-- | widgets/StyledText.qml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/widgets/StyledText.qml b/widgets/StyledText.qml index 9e4be48..c39269b 100644 --- a/widgets/StyledText.qml +++ b/widgets/StyledText.qml @@ -9,6 +9,8 @@ Text { property bool animate: false property string animateProp: "scale" + property real animateFrom: 0 + property real animateTo: 1 property int animateDuration: Appearance.anim.durations.normal renderType: Text.NativeRendering @@ -29,12 +31,12 @@ Text { SequentialAnimation { Anim { - to: 0 + to: root.animateFrom easing.bezierCurve: Appearance.anim.curves.standardAccel } PropertyAction {} Anim { - to: 1 + to: root.animateTo easing.bezierCurve: Appearance.anim.curves.standardDecel } } |