Commit 36cbf578 authored by Fushan Wen's avatar Fushan Wen 💬 Committed by Nate Graham
Browse files

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

This makes the scrolling smoother when there are many wallpapers in the
view.
parent 74a80aaa
Pipeline #180497 passed with stage
in 6 minutes and 49 seconds
......@@ -39,6 +39,8 @@ Item {
view.implicitCellWidth: Screen.width / 10 + Kirigami.Units.smallSpacing * 2
view.implicitCellHeight: Screen.height / 10 + Kirigami.Units.smallSpacing * 2 + Kirigami.Units.gridUnit * 3
view.reuseItems: true
view.delegate: WallpaperDelegate {
color: cfg_Color
}
......
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