mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-03-29 16:20:29 -04:00
Merge from vscode cfc1ab4c5f816765b91fb7ead3c3427a7c8581a3
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user