Fix for standard in hovering in code cell (#6107)

This commit is contained in:
Chris LaFreniere
2019-06-19 15:02:03 -07:00
committed by GitHub
parent 7a689b93db
commit 453caa92d4
4 changed files with 15 additions and 2 deletions

View File

@@ -232,7 +232,7 @@ export class CodeComponent extends AngularDisposable implements OnInit, OnChange
}));
this._register(this.model.layoutChanged(() => this._layoutEmitter.fire(), this));
this._register(this.cellModel.onExecutionStateChange(event => {
if (event === CellExecutionState.Running) {
if (event === CellExecutionState.Running && !this.cellModel.stdInVisible) {
this.setFocusAndScroll();
}
}));