on xenial help sign in
tweak delegate caching
7ca5700Nick Dedekind
qml/Panel/Indicators/DefaultIndicatorPage.qml+2−2
@@ -86,8 +86,8 @@ IndicatorBase {
86 }
86 }
87 }
87 }
88
88
89− // Ensure all delegates are cached in order to improve smoothness of scrolling
89+ // Don't load all the delegates (only max of 3 pages worth -1/0/+1)
90− cacheBuffer: height * 2
90+ cacheBuffer: Math.max(height * 3, units.gu(70))
91
91
92 // Only allow flicking if the content doesn't fit on the page
92 // Only allow flicking if the content doesn't fit on the page
93 interactive: contentHeight > height
93 interactive: contentHeight > height