summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-25 22:47:56 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-25 22:47:56 +1000
commitc5f8146e05145338a3b57f2b205ba1195d138022 (patch)
tree37f80bff7fc89c8189e8b5f0fc2e60021061d37d /modules
parentconfig: make gifs configurable (diff)
downloadcaelestia-shell-c5f8146e05145338a3b57f2b205ba1195d138022.tar.gz
caelestia-shell-c5f8146e05145338a3b57f2b205ba1195d138022.tar.bz2
caelestia-shell-c5f8146e05145338a3b57f2b205ba1195d138022.zip
launcher: fix wallpaper preview exit
Diffstat (limited to 'modules')
-rw-r--r--modules/launcher/ContentList.qml4
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/launcher/ContentList.qml b/modules/launcher/ContentList.qml
index 5edabaa..cbcf9fe 100644
--- a/modules/launcher/ContentList.qml
+++ b/modules/launcher/ContentList.qml
@@ -17,7 +17,7 @@ Item {
required property int rounding
readonly property bool showWallpapers: search.text.startsWith(`${Config.launcher.actionPrefix}wallpaper `)
- property var currentList
+ readonly property Item currentList: showWallpapers ? wallpaperList.item : appList.item
anchors.horizontalCenter: parent.horizontalCenter
anchors.bottom: parent.bottom
@@ -30,7 +30,6 @@ Item {
name: "apps"
PropertyChanges {
- root.currentList: appList.item
root.implicitWidth: Config.launcher.sizes.itemWidth
root.implicitHeight: appList.implicitHeight > 0 ? appList.implicitHeight : empty.implicitHeight
appList.active: true
@@ -45,7 +44,6 @@ Item {
name: "wallpapers"
PropertyChanges {
- root.currentList: wallpaperList.item
root.implicitWidth: Math.max(Config.launcher.sizes.itemWidth * 1.2, wallpaperList.implicitWidth)
root.implicitHeight: Config.launcher.sizes.wallpaperHeight
wallpaperList.active: true