Unnamed repository; edit this file 'description' to name the repository.
Auto merge of #12435 - jhgg:vscode/status-bar-color-fix, r=Veykril
[editors/vscode] cleaer status bar bg color / command when server status returns to OK fixes #12433
bors 2022-06-01
parent e25cbf8 · parent a965161 · commit 30672cb
-rw-r--r--editors/code/src/ctx.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/editors/code/src/ctx.ts b/editors/code/src/ctx.ts
index b03424dbb3..51781b4205 100644
--- a/editors/code/src/ctx.ts
+++ b/editors/code/src/ctx.ts
@@ -81,7 +81,9 @@ export class Ctx {
let icon = "";
switch (status.health) {
case "ok":
+ this.statusBar.command = undefined;
this.statusBar.color = undefined;
+ this.statusBar.backgroundColor = undefined;
break;
case "warning":
this.statusBar.tooltip += "\nClick to reload.";