diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-12 18:04:44 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-12 18:04:44 +1000 |
| commit | 302a82da2dda3f1b8f86649bd801697f9f3c2209 (patch) | |
| tree | 1c8763acb83aa01102c9f7587f6a0e02890a6a00 /modules/launcher/WallpaperList.qml | |
| parent | osd: loader content (diff) | |
| download | caelestia-shell-302a82da2dda3f1b8f86649bd801697f9f3c2209.tar.gz caelestia-shell-302a82da2dda3f1b8f86649bd801697f9f3c2209.tar.bz2 caelestia-shell-302a82da2dda3f1b8f86649bd801697f9f3c2209.zip | |
launcher: loader content
Diffstat (limited to 'modules/launcher/WallpaperList.qml')
| -rw-r--r-- | modules/launcher/WallpaperList.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/launcher/WallpaperList.qml b/modules/launcher/WallpaperList.qml index e66ae5c..874111d 100644 --- a/modules/launcher/WallpaperList.qml +++ b/modules/launcher/WallpaperList.qml @@ -13,7 +13,7 @@ PathView { required property TextField search required property PersistentProperties visibilities required property var panels - required property var wrapper + required property var content readonly property int itemWidth: Config.launcher.sizes.wallpaperWidth * 0.8 + Appearance.padding.larger * 2 @@ -24,7 +24,7 @@ PathView { // Screen width - 4x outer rounding - 2x max side thickness (cause centered) let outerMargins = Math.max(Config.border.thickness, panels.bar.implicitWidth); - if (panels.popouts.hasCurrent && panels.popouts.currentCenter + panels.popouts.nonAnimHeight / 2 > screen.height - wrapper.implicitHeight - Config.border.thickness * 2) + if (panels.popouts.hasCurrent && panels.popouts.currentCenter + panels.popouts.nonAnimHeight / 2 > screen.height - content.implicitHeight - Config.border.thickness * 2) outerMargins = panels.bar.implicitWidth + panels.popouts.nonAnimWidth; const maxWidth = screen.width - Config.border.rounding * 4 - outerMargins * 2; |