From c8bf9a6e633fa4cf912503431fc86a262a39e93d Mon Sep 17 00:00:00 2001 From: miruka Date: Wed, 11 Mar 2020 10:57:20 -0400 Subject: [PATCH] Optimize EventList cacheBuffer binding --- src/gui/Pages/Chat/Timeline/EventList.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/Pages/Chat/Timeline/EventList.qml b/src/gui/Pages/Chat/Timeline/EventList.qml index b824aca4..b53f24d7 100644 --- a/src/gui/Pages/Chat/Timeline/EventList.qml +++ b/src/gui/Pages/Chat/Timeline/EventList.qml @@ -76,7 +76,7 @@ Rectangle { // Keep x scroll pages cached, to limit images having to be // reloaded from network. - cacheBuffer: height * 2 + cacheBuffer: Screen.desktopAvailableHeight * 2 onYPosChanged: if (canLoad && yPos < 0.1) Qt.callLater(loadPastEvents)