mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 11:38:51 +01:00
Can't read StatusBarItem.tooltip anymore. Fixes #133231
This commit is contained in:
@@ -86,6 +86,10 @@ export class ExtHostStatusBarEntry implements vscode.StatusBarItem {
|
||||
return this._name;
|
||||
}
|
||||
|
||||
public get tooltip(): vscode.MarkdownString | string | undefined {
|
||||
return this._tooltip;
|
||||
}
|
||||
|
||||
public get color(): string | ThemeColor | undefined {
|
||||
return this._color;
|
||||
}
|
||||
@@ -112,7 +116,7 @@ export class ExtHostStatusBarEntry implements vscode.StatusBarItem {
|
||||
this.update();
|
||||
}
|
||||
|
||||
public set tooltip(tooltip: string | undefined) {
|
||||
public set tooltip(tooltip: vscode.MarkdownString | string | undefined) {
|
||||
this._tooltip = tooltip;
|
||||
this.update();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user