Cleanup few remaining atYEnd usages in TimelineView
These were either mistakes or rebase errors, but we should be using
closeToYEnd here.
(cherry picked from commit 3b8930c2bc)
This commit is contained in:
@@ -114,7 +114,7 @@ QQC2.ScrollView {
|
||||
*/
|
||||
function allUnreadVisible() {
|
||||
let readMarkerRow = model.readMarkerIndex?.row ?? -1;
|
||||
if (readMarkerRow >= 0 && readMarkerRow < oldestVisibleIndex() && atYEnd) {
|
||||
if (readMarkerRow >= 0 && readMarkerRow < oldestVisibleIndex() && closeToYEnd) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
@@ -199,7 +199,7 @@ QQC2.ScrollView {
|
||||
}
|
||||
}
|
||||
|
||||
onAtYEndChanged: {
|
||||
onCloseToYEndChanged: {
|
||||
// Don't care about this until the view has settled first.
|
||||
if (!_private.viewHasSettled) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user