mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-22 19:14:52 +01:00
space
This commit is contained in:
parent
bdad0ad86b
commit
a269f612b6
@ -88,8 +88,8 @@ export default class TilesCollection extends BaseObservableList {
|
||||
|
||||
const newTile = this._tileCreator(entry);
|
||||
if (newTile) {
|
||||
prevTile && prevTile.updateNextSibling(newTile);
|
||||
nextTile && nextTile.updatePreviousSibling(newTile);
|
||||
prevTile && prevTile.updateNextSibling(newTile);
|
||||
nextTile && nextTile.updatePreviousSibling(newTile);
|
||||
this._tiles.splice(tileIdx, 0, newTile);
|
||||
this.emitAdd(tileIdx, newTile);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user