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
This commit is contained in:
bors 2022-06-01 07:19:42 +00:00
commit 30672cbf0c

View File

@ -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.";