mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 12:38:48 +03:00
Account for spacing when checking for bottom message for read status
This commit is contained in:
parent
c95f4d8276
commit
fcc7c0ce5b
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ Item {
|
||||||
Binding {
|
Binding {
|
||||||
target: chat.model
|
target: chat.model
|
||||||
property: "currentIndex"
|
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
|
value: index
|
||||||
delayed: true
|
delayed: true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue