Skip to content

Commit 30672cb

Browse files
committed
Auto merge of rust-lang#12435 - jhgg:vscode/status-bar-color-fix, r=Veykril
[editors/vscode] cleaer status bar bg color / command when server status returns to OK fixes rust-lang#12433
2 parents e25cbf8 + a965161 commit 30672cb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

editors/code/src/ctx.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,9 @@ export class Ctx {
8181
let icon = "";
8282
switch (status.health) {
8383
case "ok":
84+
this.statusBar.command = undefined;
8485
this.statusBar.color = undefined;
86+
this.statusBar.backgroundColor = undefined;
8587
break;
8688
case "warning":
8789
this.statusBar.tooltip += "\nClick to reload.";

0 commit comments

Comments
 (0)