提交 922eae6d 编写于 作者: A Alex Ross

Don't allow remote explorer views to move out of the container (#108105)

Fixes #108008
上级 13268f92
...@@ -488,7 +488,7 @@ class ViewsExtensionHandler implements IWorkbenchContribution { ...@@ -488,7 +488,7 @@ class ViewsExtensionHandler implements IWorkbenchContribution {
containerIcon: icon || viewContainer?.icon, containerIcon: icon || viewContainer?.icon,
containerTitle: item.contextualTitle || viewContainer?.name, containerTitle: item.contextualTitle || viewContainer?.name,
canToggleVisibility: true, canToggleVisibility: true,
canMoveView: true, canMoveView: viewContainer?.id !== REMOTE,
treeView: type === ViewType.Tree ? this.instantiationService.createInstance(CustomTreeView, item.id, item.name) : undefined, treeView: type === ViewType.Tree ? this.instantiationService.createInstance(CustomTreeView, item.id, item.name) : undefined,
collapsed: this.showCollapsed(container) || initialVisibility === InitialVisibility.Collapsed, collapsed: this.showCollapsed(container) || initialVisibility === InitialVisibility.Collapsed,
order: order, order: order,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册