Merge from vscode cfc1ab4c5f816765b91fb7ead3c3427a7c8581a3

This commit is contained in:
ADS Merger
2020-03-11 04:19:23 +00:00
parent 16fab722d5
commit 4c3e48773d
880 changed files with 20441 additions and 11232 deletions

View File

@@ -98,8 +98,8 @@ export class StartupTimings implements IWorkbenchContribution {
if (!activeViewlet || activeViewlet.getId() !== files.VIEWLET_ID) {
return false;
}
const visibleControls = this._editorService.visibleControls;
if (visibleControls.length !== 1 || !isCodeEditor(visibleControls[0].getControl())) {
const visibleEditorPanes = this._editorService.visibleEditorPanes;
if (visibleEditorPanes.length !== 1 || !isCodeEditor(visibleEditorPanes[0].getControl())) {
return false;
}
if (this._panelService.getActivePanel()) {