QML UI: enable caching of the details view
This way the dive on either side should be cached. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
783f9ee565
commit
220d25588f
@ -189,6 +189,7 @@ Kirigami.Page {
|
||||
highlightFollowsCurrentItem: true
|
||||
focus: true
|
||||
clip: false
|
||||
cacheBuffer: parent.width * 3 // cache one item on either side (this is in pixels)
|
||||
snapMode: ListView.SnapOneItem
|
||||
onMovementEnded: {
|
||||
currentIndex = indexAt(contentX+1, 1);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user