deco - move scm decorations to git extension

This commit is contained in:
Johannes Rieken
2017-10-17 12:47:39 +02:00
parent 015901f14b
commit 41f0ff15d7
13 changed files with 128 additions and 189 deletions

View File

@@ -182,7 +182,7 @@ class MainThreadSCMProvider implements ISCMProvider {
for (const [start, deleteCount, rawResources] of groupSlices) {
const resources = rawResources.map(rawResource => {
const [handle, sourceUri, icons, tooltip, strikeThrough, faded, color] = rawResource;
const [handle, sourceUri, icons, tooltip, strikeThrough, faded] = rawResource;
const icon = icons[0];
const iconDark = icons[1] || icon;
const decorations = {
@@ -190,8 +190,7 @@ class MainThreadSCMProvider implements ISCMProvider {
iconDark: iconDark && URI.parse(iconDark),
tooltip,
strikeThrough,
faded,
color: color && color.id
faded
};
return new MainThreadSCMResource(