Account for spacing when checking for bottom message for read status

remotes/origin/0.7.0-dev
Nicolas Werner 5 years ago
parent c95f4d8276
commit fcc7c0ce5b
  1. 2
      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
}

Loading…
Cancel
Save