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/Launcher.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/Launcher.qml')
| -rw-r--r-- | modules/launcher/Launcher.qml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/modules/launcher/Launcher.qml b/modules/launcher/Launcher.qml index 849a569..798249f 100644 --- a/modules/launcher/Launcher.qml +++ b/modules/launcher/Launcher.qml @@ -22,8 +22,11 @@ Scope { visible: wrapper.shouldBeVisible width: content.width + bg.rounding * 2 - height: content.implicitHeight + mask: Region { + item: wrapper + } + anchors.top: true anchors.bottom: true Background { @@ -36,9 +39,12 @@ Scope { id: wrapper launcherVisible: root.launcherVisible + contentHeight: content.height Content { id: content + + launcher: root } } } |