perf(chatScroll): Reduce loadMoreMessagesIfScrollBelowThreshold to 100.
This commit is contained in:
parent
27bb6bf665
commit
54e91e0ba7
|
@ -50,7 +50,7 @@ Item {
|
|||
readonly property bool isMostRecentMessageInViewport: chatLogView.visibleArea.yPosition >= 0.999 - chatLogView.visibleArea.heightRatio
|
||||
readonly property var chatDetails: chatContentModule.chatDetails || null
|
||||
|
||||
readonly property var loadMoreMessagesIfScrollBelowThreshold: Backpressure.oneInTime(root, 500, function() {
|
||||
readonly property var loadMoreMessagesIfScrollBelowThreshold: Backpressure.oneInTime(root, 100, function() {
|
||||
if(scrollY < 1000) messageStore.loadMoreMessages()
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in New Issue