Fix scrolling of the chat view at expense of some more memory usage. (#2555)

Signed-off-by: Adam Treat <treat.adam@gmail.com>
This commit is contained in:
AT 2024-07-08 12:26:44 -04:00 committed by GitHub
parent c73f0e5c8c
commit 11b58a1a15
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -776,6 +776,7 @@ Rectangle {
Layout.alignment: Qt.AlignHCenter
spacing: 25
model: chatModel
cacheBuffer: Math.max(0, listView.contentHeight)
ScrollBar.vertical: ScrollBar {
policy: ScrollBar.AsNeeded