summaryrefslogtreecommitdiff
path: root/modules/launcher/ContentList.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-20 22:43:39 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-20 22:43:39 +1000
commit160673ee6596ae5ff15e2d002d08b89f76cf7c68 (patch)
tree87438382ea81be9988f5ac878ba10d40c9097d2e /modules/launcher/ContentList.qml
parentsystemusage: fix cpu calculation (diff)
downloadcaelestia-shell-160673ee6596ae5ff15e2d002d08b89f76cf7c68.tar.gz
caelestia-shell-160673ee6596ae5ff15e2d002d08b89f76cf7c68.tar.bz2
caelestia-shell-160673ee6596ae5ff15e2d002d08b89f76cf7c68.zip
launcher: fix height when one item
Diffstat (limited to 'modules/launcher/ContentList.qml')
-rw-r--r--modules/launcher/ContentList.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/launcher/ContentList.qml b/modules/launcher/ContentList.qml
index 9c10077..5edabaa 100644
--- a/modules/launcher/ContentList.qml
+++ b/modules/launcher/ContentList.qml
@@ -32,7 +32,7 @@ Item {
PropertyChanges {
root.currentList: appList.item
root.implicitWidth: Config.launcher.sizes.itemWidth
- root.implicitHeight: Math.max(empty.implicitHeight, appList.implicitHeight)
+ root.implicitHeight: appList.implicitHeight > 0 ? appList.implicitHeight : empty.implicitHeight
appList.active: true
}