Skip to content

Commit 917a70b

Browse files
Merge fix/launcher-size-guard: guard riceSelector implicitHeight
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix/launcher-size-guard: fix: guard riceSelector against negative implicitHeight on init
2 parents e40ce6c + 6623226 commit 917a70b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

home/dot_config/quickshell/modules/launcher/ContentList.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Item {
5959

6060
PropertyChanges {
6161
root.implicitWidth: riceSelectorLoader.item?.implicitWidth ?? Config.launcher.sizes.itemWidth
62-
root.implicitHeight: Math.min(root.maxHeight, riceSelectorLoader.item?.implicitHeight ?? Config.launcher.sizes.wallpaperHeight)
62+
root.implicitHeight: Math.min(root.maxHeight, (riceSelectorLoader.item?.implicitHeight ?? 0) > 0 ? riceSelectorLoader.item.implicitHeight : empty.implicitHeight)
6363
riceSelectorLoader.active: true
6464
}
6565
}

0 commit comments

Comments
 (0)