gui: fix scroll jitter — use contentY instead of positionViewAtEnd, increase timer interval
This commit is contained in:
parent
18b36c09cd
commit
5057b1a3dd
|
|
@ -888,10 +888,10 @@ ApplicationWindow {
|
||||||
|
|
||||||
Timer {
|
Timer {
|
||||||
id: scrollTimer
|
id: scrollTimer
|
||||||
interval: 16
|
interval: 32
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
if (chatView.followTail && chatView.contentHeight > chatView.height)
|
if (chatView.followTail && chatView.contentHeight > chatView.height)
|
||||||
chatView.positionViewAtEnd()
|
chatView.contentY = chatView.contentHeight - chatView.height
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Reference in New Issue