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:
parent
2baf76e74b
commit
58031af31f
1 changed files with 1 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue