refactor: store layersView

This commit is contained in:
cha0s 2019-04-21 05:06:47 -05:00
parent e11dc0de35
commit ba9b4e6b2c

View File

@ -7,8 +7,8 @@ export class RoomView extends Container {
constructor(room, renderer) {
super();
this.room = room;
const layersView = new LayersView(room.layers, renderer);
this.addChild(layersView);
this.layersView = new LayersView(room.layers, renderer);
this.addChild(this.layersView);
}
}