mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-01-23 02:31:39 +01:00
also test next next tile, change this back after testing before
This commit is contained in:
parent
b5d5adaa36
commit
9b235f7c80
@ -153,7 +153,7 @@ export class TilesCollection extends BaseObservableList {
|
|||||||
// the first of the two tiles may be a DateTile in which case,
|
// the first of the two tiles may be a DateTile in which case,
|
||||||
// we remove it after looking at the needsDateSeparator prop of the
|
// we remove it after looking at the needsDateSeparator prop of the
|
||||||
// next next tile
|
// next next tile
|
||||||
for (let i = 0; i < 2; i += 1) {
|
for (let i = 0; i < 3; i += 1) {
|
||||||
const idx = tileIdx + i;
|
const idx = tileIdx + i;
|
||||||
if (idx >= this._tiles.length) {
|
if (idx >= this._tiles.length) {
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user