Fix read marker.
This commit is contained in:
parent
ae538a7c45
commit
bcb612856d
|
@ -23,7 +23,7 @@ RoomPanelForm {
|
||||||
}
|
}
|
||||||
|
|
||||||
messageListView {
|
messageListView {
|
||||||
property int largestVisibleIndex: messageListView.count > 0 ? messageListView.indexAt(messageListView.contentX, messageListView.contentY + height - 1) : -1
|
property int largestVisibleIndex: messageListView.count > 0 ? messageListView.indexAt(messageListView.contentX, messageListView.contentY + messageListView.height - 1) : -1
|
||||||
|
|
||||||
onContentYChanged: {
|
onContentYChanged: {
|
||||||
if(messageListView.verticalVelocity < 0 && messageListView.contentY - 5000 < messageListView.originY)
|
if(messageListView.verticalVelocity < 0 && messageListView.contentY - 5000 < messageListView.originY)
|
||||||
|
|
Loading…
Reference in New Issue