提交 03c781b9 编写于 作者: A Alex Dima

Fixes #9257: Fix TS rename fail...

上级 babfdf26
......@@ -21,14 +21,14 @@ export class MainThreadStatusBar extends MainThreadStatusBarShape {
$setEntry(id: number, text: string, tooltip: string, command: string, color: string, alignment: MainThreadStatusBarAlignment, priority: number): void {
// Dispose any old
this.dispose(id);
this.$dispose(id);
// Add new
let disposeable = this.statusbarService.addEntry({ text, tooltip, command, color }, alignment, priority);
this.mapIdToDisposable[id] = disposeable;
}
dispose(id: number) {
$dispose(id: number) {
let disposeable = this.mapIdToDisposable[id];
if (disposeable) {
disposeable.dispose();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册