diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-03 23:56:37 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-03 23:56:37 +1000 |
| commit | 00d3c1a472888817d7649391d4a8485c5fc6f6f5 (patch) | |
| tree | 45b351c62f61ede55acfc209dde686f1c161a942 /modules/launcher/Launcher.qml | |
| parent | feat: use multieffect instead of qt5compat (diff) | |
| download | caelestia-shell-00d3c1a472888817d7649391d4a8485c5fc6f6f5.tar.gz caelestia-shell-00d3c1a472888817d7649391d4a8485c5fc6f6f5.tar.bz2 caelestia-shell-00d3c1a472888817d7649391d4a8485c5fc6f6f5.zip | |
feat: launcher wallpaper selector
Diffstat (limited to 'modules/launcher/Launcher.qml')
| -rw-r--r-- | modules/launcher/Launcher.qml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/modules/launcher/Launcher.qml b/modules/launcher/Launcher.qml index d5c43db..bbd2f91 100644 --- a/modules/launcher/Launcher.qml +++ b/modules/launcher/Launcher.qml @@ -21,23 +21,31 @@ Scope { keyboardFocus: root.launcherVisible ? WlrKeyboardFocus.Exclusive : WlrKeyboardFocus.None visible: wrapper.shouldBeVisible - width: content.width + bg.rounding * 2 mask: Region { item: wrapper } anchors.top: true + anchors.left: true anchors.bottom: true + anchors.right: true Background { id: bg + anchors.horizontalCenter: parent.horizontalCenter + + wrapperWidth: wrapper.width realWrapperHeight: Math.min(wrapper.height, content.height) } Wrapper { id: wrapper + anchors.horizontalCenter: parent.horizontalCenter + + implicitWidth: content.width + bg.rounding * 2 + launcherVisible: root.launcherVisible contentHeight: content.height |