Git - fix background color for base reference (#278532)

This commit is contained in:
Ladislau Szomoru 2025-11-20 08:33:33 +00:00 committed by GitHub
parent 232e5a985c
commit 5e1893f284
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -526,7 +526,9 @@ export class GitHistoryProvider implements SourceControlHistoryProvider, FileDec
icon: new ThemeIcon('cloud'),
backgroundColor: ref === this.currentHistoryItemRemoteRef?.id
? `--vscode-scmGraph-historyItemRemoteRefColor`
: undefined
: ref === this.currentHistoryItemBaseRef?.id
? `--vscode-scmGraph-historyItemBaseRefColor`
: undefined
});
break;
case ref.startsWith('tag: refs/tags/'):