Verified Commit 8372084d authored by Fushan Wen's avatar Fushan Wen 💬
Browse files

wallpapers/image: enable `reuseItems` in wallpaper `GridView` if possible

This makes the scrolling smoother when there are many wallpapers in the
view.
parent cd33dc7b
Pipeline #180479 passed with stage
in 15 minutes and 18 seconds
......@@ -421,6 +421,10 @@ ColumnLayout {
//kill the space for label under thumbnails
view.model: imageModel
Component.onCompleted: {
if (view.hasOwnProperty("reuseItems")) {
view.reuseItems = true;
}
imageModel.usedInConfig = true;
resetCurrentIndex()
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment