diff --git a/Modals/SpotlightModal.qml b/Modals/SpotlightModal.qml index 5a108e1c..2e88c34d 100644 --- a/Modals/SpotlightModal.qml +++ b/Modals/SpotlightModal.qml @@ -320,7 +320,7 @@ DankModal { spacing: itemSpacing focus: true interactive: true - cacheBuffer: Math.min(height * 2, 1000) + cacheBuffer: Math.max(0, Math.min(height * 2, 1000)) reuseItems: true onCurrentIndexChanged: { @@ -496,7 +496,7 @@ DankModal { rightMargin: leftMargin focus: true interactive: true - cacheBuffer: Math.min(height * 2, 1000) + cacheBuffer: Math.max(0, Math.min(height * 2, 1000)) reuseItems: true onCurrentIndexChanged: { diff --git a/Modules/AppDrawer/AppDrawerPopout.qml b/Modules/AppDrawer/AppDrawerPopout.qml index dfe479d0..5dd1a7cb 100644 --- a/Modules/AppDrawer/AppDrawerPopout.qml +++ b/Modules/AppDrawer/AppDrawerPopout.qml @@ -405,7 +405,7 @@ PanelWindow { spacing: itemSpacing focus: true interactive: true - cacheBuffer: Math.min(height * 2, 1000) + cacheBuffer: Math.max(0, Math.min(height * 2, 1000)) reuseItems: true onCurrentIndexChanged: { @@ -581,7 +581,7 @@ PanelWindow { rightMargin: leftMargin focus: true interactive: true - cacheBuffer: Math.min(height * 2, 1000) + cacheBuffer: Math.max(0, Math.min(height * 2, 1000)) reuseItems: true onCurrentIndexChanged: {