deco - allow to derive new decoration from existing decoration, add IDecorationData#source

This commit is contained in:
Johannes Rieken
2017-10-26 15:45:26 +02:00
parent f9d60296d6
commit 86cd46a44e
9 changed files with 53 additions and 58 deletions

View File

@@ -265,7 +265,7 @@ export class Resource implements SourceControlResourceState {
const abbreviation = this.letter;
const color = this.color;
const priority = this.priority;
return { bubble: true, title, abbreviation, color, priority };
return { bubble: true, source: 'git.resource', title, abbreviation, color, priority };
}
constructor(