diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-02 16:01:31 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-02 16:01:31 +1000 |
| commit | bfffe0ccf789eac6248db6ed4a0b6a72c54e5612 (patch) | |
| tree | 6ab790f4e5d3eff22a9b7a85f336cd8934237cd2 /modules/launcher/Wrapper.qml | |
| parent | launcher: add content (diff) | |
| download | caelestia-shell-bfffe0ccf789eac6248db6ed4a0b6a72c54e5612.tar.gz caelestia-shell-bfffe0ccf789eac6248db6ed4a0b6a72c54e5612.tar.bz2 caelestia-shell-bfffe0ccf789eac6248db6ed4a0b6a72c54e5612.zip | |
launcher: animate content
Diffstat (limited to 'modules/launcher/Wrapper.qml')
| -rw-r--r-- | modules/launcher/Wrapper.qml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/launcher/Wrapper.qml b/modules/launcher/Wrapper.qml index ed08ba1..d7385c1 100644 --- a/modules/launcher/Wrapper.qml +++ b/modules/launcher/Wrapper.qml @@ -5,6 +5,7 @@ Item { id: root required property bool launcherVisible + required property real contentHeight property bool shouldBeVisible anchors.left: parent.left @@ -12,7 +13,6 @@ Item { anchors.bottom: parent.bottom height: 0 - clip: true states: State { @@ -20,7 +20,7 @@ Item { when: root.launcherVisible PropertyChanges { - root.height: content.height + root.height: contentHeight root.shouldBeVisible: true } } @@ -52,7 +52,7 @@ Item { NumberAnimation { target: root property: "height" - duration: Appearance.anim.durations.extraLarge + duration: Appearance.anim.durations.normal easing.type: Easing.BezierSpline easing.bezierCurve: Appearance.anim.curves.emphasizedDecel } |