summaryrefslogtreecommitdiff
path: root/modules/launcher/Launcher.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-02 16:01:31 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-02 16:01:31 +1000
commitbfffe0ccf789eac6248db6ed4a0b6a72c54e5612 (patch)
tree6ab790f4e5d3eff22a9b7a85f336cd8934237cd2 /modules/launcher/Launcher.qml
parentlauncher: add content (diff)
downloadcaelestia-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.qml8
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
}
}
}