Account for spacing when checking for bottom message for read status
This commit is contained in:
parent
c95f4d8276
commit
fcc7c0ce5b
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user