1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-07-24 09:25:33 +02:00

messagelistview: hide "Scroll to end" after click

When scrolling up and clicking on "Scroll to end", sometimes, the
button didn't update correctly. Using contentY = 0 seems to be correct

Change-Id: I04576181d0b61006d4389be6ace3b09c1ac0a2f9
This commit is contained in:
Sébastien Blin 2023-02-21 09:55:43 -05:00
parent 2baf76e74b
commit 58031af31f

View file

@ -286,8 +286,7 @@ JamiListView {
anchors.horizontalCenter: root.horizontalCenter
activeStateTrigger: Math.abs(root.contentY) > root.height * 2
onClicked: root.ScrollBar.vertical.position =
1.0 - root.ScrollBar.vertical.size
onClicked: root.contentY = 0
}
header: Control {