remove debug logging

This commit is contained in:
Bruno Windels 2021-09-16 16:33:09 +02:00
parent c9f79343ef
commit 6ec2712eec

View File

@ -77,12 +77,10 @@ export class TimelineViewModel extends ViewModel {
} }
loadTop = startIndex < 10; loadTop = startIndex < 10;
this._setShowJumpDown(endIndex < (this._tiles.length - 1)); this._setShowJumpDown(endIndex < (this._tiles.length - 1));
// console.log("got tiles", startIndex, endIndex, loadTop);
} else { } else {
// tiles collection is empty, load more at top // tiles collection is empty, load more at top
loadTop = true; loadTop = true;
this._setShowJumpDown(false); this._setShowJumpDown(false);
// console.log("no tiles, load more at top");
} }
if (loadTop && !this._topLoadingPromise) { if (loadTop && !this._topLoadingPromise) {
@ -95,8 +93,6 @@ export class TimelineViewModel extends ViewModel {
this.setVisibleTileRange(this._requestedStartTile, this._requestedEndTile); this.setVisibleTileRange(this._requestedStartTile, this._requestedEndTile);
} }
}); });
} else if (loadTop) {
// console.log("loadTop is true but already loading");
} }
} }