Skip to content
Snippets Groups Projects
Commit fcc7c0ce authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Account for spacing when checking for bottom message for read status

parent c95f4d82
No related branches found
No related tags found
No related merge requests found
......@@ -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
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment