From fcc7c0ce5b92dabc306c52c9391e028e146fc735 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Tue, 21 Jan 2020 20:46:12 +0100 Subject: [PATCH] Account for spacing when checking for bottom message for read status --- resources/qml/TimelineView.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }