No need to filter top tile out

Signed-off-by: RMidhunSuresh <hi@midhun.dev>
This commit is contained in:
RMidhunSuresh 2021-10-27 12:26:48 +05:30
parent 177ef43ebf
commit 57fa292583

View File

@ -97,7 +97,7 @@ export class TimelineViewModel extends ViewModel {
const endIndex = this._tiles.getTileIndex(this._endTile); const endIndex = this._tiles.getTileIndex(this._endTile);
for (const tile of this._tiles.sliceIterator(startIndex, endIndex + 1)) { for (const tile of this._tiles.sliceIterator(startIndex, endIndex + 1)) {
const ret = tile.notifyVisible(); const ret = tile.notifyVisible();
if (ret && !tile.isAtTop) { if (ret) {
this.watchForGapFill(ret, tile); this.watchForGapFill(ret, tile);
} }
} }