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() {
|
function allUnreadVisible() {
|
||||||
let readMarkerRow = model.readMarkerIndex?.row ?? -1;
|
let readMarkerRow = model.readMarkerIndex?.row ?? -1;
|
||||||
if (readMarkerRow >= 0 && readMarkerRow < oldestVisibleIndex() && atYEnd) {
|
if (readMarkerRow >= 0 && readMarkerRow < oldestVisibleIndex() && closeToYEnd) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
@@ -194,7 +194,7 @@ QQC2.ScrollView {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
onAtYEndChanged: {
|
onCloseToYEndChanged: {
|
||||||
// Don't care about this until the view has settled first.
|
// Don't care about this until the view has settled first.
|
||||||
if (!_private.viewHasSettled) {
|
if (!_private.viewHasSettled) {
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user