summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2018-04-16 11:45:38 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-04-16 14:11:22 -0700
commitc1bcba46f034434a56c1c37defafa214b26b270b (patch)
treefcff51b60a8b5d48211fab4acae4c21a00475a75 /mobile-widgets/qml
parent95c9a505c6bef852da52e0262e427f32a16004a2 (diff)
downloadsubsurface-c1bcba46f034434a56c1c37defafa214b26b270b.tar.gz
QML UI: dive list performance: enable caching
We had turned this off since it caused rendering issues, but that appears to be fixed now - and it should help to get us smoother rendering of the dive list. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml')
-rw-r--r--mobile-widgets/qml/DiveList.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml
index 0ff7a67cd..8917f0a58 100644
--- a/mobile-widgets/qml/DiveList.qml
+++ b/mobile-widgets/qml/DiveList.qml
@@ -390,7 +390,7 @@ Kirigami.ScrollablePage {
boundsBehavior: Flickable.DragOverBounds
maximumFlickVelocity: parent.height * 5
bottomMargin: Kirigami.Units.iconSizes.medium + Kirigami.Units.gridUnit
- cacheBuffer: 0 // seems to avoid empty rendered profiles
+ cacheBuffer: 40 // this will increase memory use, but should help with scrolling
section.property: "dive.tripMeta"
section.criteria: ViewSection.FullString
section.delegate: tripHeading