Cleanup few remaining atYEnd usages in TimelineView
These were either mistakes or rebase errors, but we should be using closeToYEnd here.
This commit is contained in:
@@ -109,7 +109,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;
|
||||
@@ -194,7 +194,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