mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 01:58:53 +01:00
remove priority all togther, maybe add something like severity in the future, https://github.com/microsoft/vscode/issues/54938
This commit is contained in:
@@ -1605,7 +1605,7 @@ export interface DecorationRequest {
|
||||
readonly uri: UriComponents;
|
||||
}
|
||||
|
||||
export type DecorationData = [number, boolean, string, string, ThemeColor];
|
||||
export type DecorationData = [boolean, string, string, ThemeColor];
|
||||
export type DecorationReply = { [id: number]: DecorationData; };
|
||||
|
||||
export interface ExtHostDecorationsShape {
|
||||
|
||||
@@ -71,7 +71,7 @@ export class ExtHostDecorations implements ExtHostDecorationsShape {
|
||||
}
|
||||
try {
|
||||
FileDecoration.validate(data);
|
||||
result[id] = <DecorationData>[data.priority, data.propagte, data.tooltip, data.badge, data.color];
|
||||
result[id] = <DecorationData>[data.propagte, data.tooltip, data.badge, data.color];
|
||||
} catch (e) {
|
||||
this._logService.warn(`INVALID decoration from extension '${extensionId.value}': ${e}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user