提交 738c2145 编写于 作者: B Benjamin Pasero

💄

上级 859ee733
......@@ -341,7 +341,7 @@ export abstract class AdaptiveCollapsibleViewletView extends FixedCollapsibleVie
// Tool bar
this.toolBar = new ToolBar($('div.actions').appendTo(container).getHTMLElement(), this.contextMenuService, {
orientation: ActionsOrientation.HORIZONTAL,
actionItemProvider: (action) => { return this.getActionItem(action); },
actionItemProvider: (action) => this.getActionItem(action),
ariaLabel: nls.localize('viewToolbarAriaLabel', "{0} actions", this.viewName),
getKeyBinding: (action) => this.keybindingService.lookupKeybinding(action.id)
});
......@@ -470,7 +470,7 @@ export abstract class CollapsibleViewletView extends CollapsibleView implements
// Tool bar
this.toolBar = new ToolBar($('div.actions').appendTo(container).getHTMLElement(), this.contextMenuService, {
orientation: ActionsOrientation.HORIZONTAL,
actionItemProvider: (action) => { return this.getActionItem(action); },
actionItemProvider: (action) => this.getActionItem(action),
ariaLabel: nls.localize('viewToolbarAriaLabel', "{0} actions", this.viewName),
getKeyBinding: (action) => this.keybindingService.lookupKeybinding(action.id)
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册