diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-03-25 22:31:18 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-03-25 23:42:01 +0100 |
commit | ef31f67c326ebf8d467227b8c92a079add412cac (patch) | |
tree | 131fc88a0f0580550624bb87d7018000f5114b6a /resources/qml/MessageView.qml | |
parent | Cleanup CI config and add sections (diff) | |
download | nheko-ef31f67c326ebf8d467227b8c92a079add412cac.tar.xz |
Delay some delegate removals to reduce CPU spent on recalculating sizes
Diffstat (limited to 'resources/qml/MessageView.qml')
-rw-r--r-- | resources/qml/MessageView.qml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/resources/qml/MessageView.qml b/resources/qml/MessageView.qml index 83cbb781..c75710cf 100644 --- a/resources/qml/MessageView.qml +++ b/resources/qml/MessageView.qml @@ -449,6 +449,7 @@ Item { anchors.horizontalCenter: parent ? parent.horizontalCenter : undefined width: chat.delegateMaxWidth height: section.active ? section.height + timelinerow.height : timelinerow.height + ListView.delayRemove: true Loader { id: section |