提交 07d91393 编写于 作者: S SteVen Batten

fix build

上级 a6b1c77e
......@@ -131,8 +131,7 @@ export class ActivitybarPart extends Part implements IActivityBarService {
hidePart: () => this.layoutService.setSideBarHidden(true),
dndHandler: new CompositeDragAndDrop(this.viewDescriptorService, ViewContainerLocation.Sidebar,
(id: string, focus?: boolean) => this.viewletService.openViewlet(id, focus),
(from: string, to: string, before?: boolean) => this.compositeBar.move(from, to, before),
() => this.getPinnedViewletIds()
(from: string, to: string, before?: boolean) => this.compositeBar.move(from, to, before)
),
compositeSize: 50,
colors: (theme: IColorTheme) => this.getActivitybarItemColors(theme),
......
......@@ -40,7 +40,6 @@ export class CompositeDragAndDrop implements ICompositeDragAndDrop {
private targetContainerLocation: ViewContainerLocation,
private openComposite: (id: string, focus?: boolean) => Promise<IPaneComposite | undefined>,
private moveComposite: (from: string, to: string, before?: boolean) => void,
private getVisibleCompositeIds: () => string[]
) { }
drop(data: CompositeDragAndDropData, targetCompositeId: string | undefined, originalEvent: DragEvent, before?: boolean): void {
const dragData = data.getData();
......
......@@ -146,8 +146,7 @@ export class PanelPart extends CompositePart<Panel> implements IPanelService {
hidePart: () => this.layoutService.setPanelHidden(true),
dndHandler: new CompositeDragAndDrop(this.viewDescriptorService, ViewContainerLocation.Panel,
(id: string, focus?: boolean) => this.openPanel(id, focus) as Promise<IPaneComposite | undefined>,
(from: string, to: string, before?: boolean) => this.compositeBar.move(from, to, before),
() => this.getPinnedPanels().map(p => p.id)
(from: string, to: string, before?: boolean) => this.compositeBar.move(from, to, before)
),
compositeSize: 0,
overflowActionSize: 44,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册