summary refs log tree commit diff
path: root/resources/qml/TimelineView.qml
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2020-01-21 20:46:12 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2020-01-21 20:46:12 +0100
commitfcc7c0ce5b92dabc306c52c9391e028e146fc735 (patch)
tree923ab4bc05aeff00bd8df4814d1e0b514701c7ec /resources/qml/TimelineView.qml
parentFix colors in typing display, when username contains emoji (diff)
downloadnheko-fcc7c0ce5b92dabc306c52c9391e028e146fc735.tar.xz
Account for spacing when checking for bottom message for read status
Diffstat (limited to 'resources/qml/TimelineView.qml')
-rw-r--r--resources/qml/TimelineView.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/qml/TimelineView.qml b/resources/qml/TimelineView.qml
index a93f50c0..d75dae46 100644
--- a/resources/qml/TimelineView.qml
+++ b/resources/qml/TimelineView.qml
@@ -111,7 +111,7 @@ Item {
 				Binding {
 					target: chat.model
 					property: "currentIndex"
-					when: y + height > chat.contentY + chat.height && y < chat.contentY + chat.height
+					when: y + height + 2 * chat.spacing > chat.contentY + chat.height && y < chat.contentY + chat.height
 					value: index
 					delayed: true
 				}