Mobile: fix cacheBuffer for log window

The old value made no sense at all. Why would we want to cache up to 10k
entries of the log?

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2019-10-22 15:31:17 -04:00
parent a4ca3c520c
commit face9ba1a8

View file

@ -21,7 +21,7 @@ Kirigami.ScrollablePage {
currentIndex: -1
boundsBehavior: Flickable.StopAtBounds
maximumFlickVelocity: parent.height * 5
cacheBuffer: Math.max(5000, parent.height * 5)
cacheBuffer: 100 // cache up to 100 lines above / below what is shown for smoother scrolling
focus: true
clip: true
delegate : Text {