Skip to content

Commit

Permalink
Fix #58145
Browse files Browse the repository at this point in the history
  • Loading branch information
sandy081 committed Sep 8, 2018
1 parent 5da1119 commit 7fdce45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/workbench/browser/parts/views/customView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ class TreeRenderer implements IRenderer {
templateData.resourceLabel.setLabel({ name: label }, { title, hideIcon: true, extraClasses: ['custom-view-tree-node-item-resourceLabel'] });
}

templateData.icon.style.backgroundImage = iconUrl ? `url('${iconUrl}')` : '';
templateData.icon.style.backgroundImage = iconUrl ? `url('${iconUrl.toString(true)}')` : '';
DOM.toggleClass(templateData.icon, 'custom-view-tree-node-item-icon', !!iconUrl);
templateData.actionBar.context = (<TreeViewItemHandleArg>{ $treeViewId: this.treeViewId, $treeItemHandle: node.handle });
templateData.actionBar.push(this.menus.getResourceActions(node), { icon: true, label: false });
Expand Down

0 comments on commit 7fdce45

Please sign in to comment.