提交 e2027598 编写于 作者: I isidor

repl: minor fix

上级 96eb2ffc
......@@ -134,7 +134,7 @@ export class Repl extends Panel implements IPrivateReplService, IHistoryNavigati
this._register(this.panelService.onDidPanelOpen(panel => this.refreshReplElements(true)));
this._register(this.debugService.onDidNewSession(() => this.updateTitleArea()));
this._register(this.debugService.onDidEndSession(() => {
if (this.debugService.getModel().getSessions().length === 0 && this.isVisible()) {
if (this.debugService.getModel().getSessions().length === 0) {
// Only hide the session drop down when there are 0 sessions
this.updateTitleArea();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册