mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-22 17:48:56 +01:00
Align signatures with other providers.
This commit is contained in:
@@ -132,7 +132,7 @@ export function activate(context: ExtensionContext) {
|
||||
});
|
||||
});
|
||||
},
|
||||
resolveColor(color: Color, colorFormat: ColorFormat): Thenable<string> | string {
|
||||
resolveDocumentColor(color: Color, colorFormat: ColorFormat): Thenable<string> | string {
|
||||
if (color.alpha === 1) {
|
||||
return `#${_toTwoDigitHex(Math.round(color.red * 255))}${_toTwoDigitHex(Math.round(color.green * 255))}${_toTwoDigitHex(Math.round(color.blue * 255))}`;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user