Added git\src\model tooltip for decorations.

This commit is contained in:
Marc Kassay
2017-06-27 12:46:58 -04:00
parent 9c24e9a1c2
commit dc4e07da58
7 changed files with 37 additions and 3 deletions

View File

@@ -119,10 +119,11 @@ class ExtHostSourceControlResourceGroup implements vscode.SourceControlResourceG
icons.push(darkIconPath);
}
const tooltip = r.decorations.tooltip;
const strikeThrough = r.decorations && !!r.decorations.strikeThrough;
const faded = r.decorations && !!r.decorations.faded;
return [handle, sourceUri, command, icons, strikeThrough, faded] as SCMRawResource;
return [handle, sourceUri, command, icons, tooltip, strikeThrough, faded] as SCMRawResource;
});
this._proxy.$updateGroupResourceStates(this._sourceControlHandle, this._handle, rawResources);