Fix #3734 - Codecell content disappers when tabbing editors (#4153)

This commit is contained in:
Raj
2019-02-24 19:31:42 -08:00
committed by GitHub
parent 7d5ce7b5d7
commit c3f02980a0

View File

@@ -194,7 +194,7 @@ export class CodeComponent extends AngularDisposable implements OnInit, OnChange
this._editor.setHeightToScrollHeight(true);
}
}));
this._register(this.model.layoutChanged(() => this._layoutEmitter.fire, this));
this._register(this.model.layoutChanged(() => this._layoutEmitter.fire(), this));
this.layout();
}