summary refs log tree commit diff
path: root/resources/qml/MessageView.qml
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-09-15 23:18:21 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2021-09-15 23:19:12 +0200
commit30aedd36a1d3359a0200f14cacebc67e7bcf14a5 (patch)
treea8410e71c1b56a8ac4e56e9620fe6a44ec6ff04d /resources/qml/MessageView.qml
parentFix a few jdenticon bugs (diff)
downloadnheko-30aedd36a1d3359a0200f14cacebc67e7bcf14a5.tar.xz
Reenable reuseItems for the message view
If this is still broken, we will need to disable it again.
Diffstat (limited to '')
-rw-r--r--resources/qml/MessageView.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/resources/qml/MessageView.qml b/resources/qml/MessageView.qml

index 2d4fe3a7..d80d274d 100644 --- a/resources/qml/MessageView.qml +++ b/resources/qml/MessageView.qml
@@ -25,8 +25,8 @@ ScrollView { model: room // reuseItems still has a few bugs, see https://bugreports.qt.io/browse/QTBUG-95105 https://bugreports.qt.io/browse/QTBUG-95107 - //onModelChanged: if (room) room.sendReset() - //reuseItems: true + onModelChanged: if (room) room.sendReset() + reuseItems: true boundsBehavior: Flickable.StopAtBounds pixelAligned: true spacing: 4 @@ -361,7 +361,7 @@ ScrollView { anchors.horizontalCenter: parent ? parent.horizontalCenter : undefined width: chat.delegateMaxWidth - height: section ? section.height + timelinerow.height : timelinerow.height + height: Math.max(section.active ? section.height + timelinerow.height : timelinerow.height, 10) Rectangle { id: scrollHighlight