forked from mystiq/hydrogen-web
space
This commit is contained in:
parent
bdad0ad86b
commit
a269f612b6
1 changed files with 2 additions and 2 deletions
|
@ -88,8 +88,8 @@ export default class TilesCollection extends BaseObservableList {
|
||||||
|
|
||||||
const newTile = this._tileCreator(entry);
|
const newTile = this._tileCreator(entry);
|
||||||
if (newTile) {
|
if (newTile) {
|
||||||
prevTile && prevTile.updateNextSibling(newTile);
|
prevTile && prevTile.updateNextSibling(newTile);
|
||||||
nextTile && nextTile.updatePreviousSibling(newTile);
|
nextTile && nextTile.updatePreviousSibling(newTile);
|
||||||
this._tiles.splice(tileIdx, 0, newTile);
|
this._tiles.splice(tileIdx, 0, newTile);
|
||||||
this.emitAdd(tileIdx, newTile);
|
this.emitAdd(tileIdx, newTile);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue