Skip to content

Commit

Permalink
Merge branch 'master' into connectionStatusRefactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
vzhukovs committed Feb 17, 2021
2 parents 87cee26 + f3a15db commit 5a51ca1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/core/src/browser/shell/split-panels.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export interface MoveEntry extends SplitPositionOptions {
targetSize?: number;
targetPosition?: number;
startPosition?: number;
startTime?: number
startTime?: number;
resolve?: (position: number) => void;
reject?: (reason: string) => void;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ export class ProblemTabBarDecorator implements TabBarDecorator {
}

decorate(title: Title<Widget>): WidgetDecoration.Data[] {
if (!this.preferences['problems.decorations.tabbar.enabled']) {
return [];
}
const widget = title.owner;
if (Navigatable.is(widget)) {
const resourceUri = widget.getResourceUri();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export class PluginTree extends TreeImpl {
try {
const children = await proxy.$getChildren(this.identifier.id, parent.id);
const oldEmpty = this._isEmpty;
this._isEmpty = !children || children.length === 0;
this._isEmpty = !parent.id && (!children || children.length === 0);
if (oldEmpty !== this._isEmpty) {
this.onDidChangeWelcomeStateEmitter.fire();
}
Expand Down

0 comments on commit 5a51ca1

Please sign in to comment.