提交 2785134e 编写于 作者: S SteVen Batten

fixes #92751

上级 8b447a64
......@@ -571,12 +571,7 @@ export class ActivitybarPart extends Part implements IActivityBarService {
}
getPinnedViewletIds(): string[] {
const pinnedCompositeIds = this.compositeBar.getPinnedComposites().map(v => v.id);
return this.viewletService.getViewlets()
.filter(v => this.compositeBar.isPinned(v.id))
.sort((v1, v2) => pinnedCompositeIds.indexOf(v1.id) - pinnedCompositeIds.indexOf(v2.id))
.map(v => v.id);
return this.compositeBar.getPinnedComposites().map(v => v.id);
}
layout(width: number, height: number): void {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册