mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 11:38:51 +01:00
deco - move scm decorations to git extension
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user