Optimize EventList cacheBuffer binding

This commit is contained in:
miruka 2020-03-11 10:57:20 -04:00
parent 5f6a23f051
commit c8bf9a6e63

View File

@ -76,7 +76,7 @@ Rectangle {
// Keep x scroll pages cached, to limit images having to be // Keep x scroll pages cached, to limit images having to be
// reloaded from network. // reloaded from network.
cacheBuffer: height * 2 cacheBuffer: Screen.desktopAvailableHeight * 2
onYPosChanged: onYPosChanged:
if (canLoad && yPos < 0.1) Qt.callLater(loadPastEvents) if (canLoad && yPos < 0.1) Qt.callLater(loadPastEvents)