From bfffe0ccf789eac6248db6ed4a0b6a72c54e5612 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Fri, 2 May 2025 16:01:31 +1000 Subject: launcher: animate content --- modules/launcher/Launcher.qml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'modules/launcher/Launcher.qml') 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 } } } -- cgit v1.2.3-freya