Skip to content

Commit 4fd4a25

Browse files
committed
Update @types/vscode and StatusBarItem implementation
1 parent 7334c62 commit 4fd4a25

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
"@types/semver": "~7.3.4",
6969
"@types/sinon": "~9.0.10",
7070
"@types/uuid": "~8.3.0",
71-
"@types/vscode": "~1.52.0",
71+
"@types/vscode": "~1.53.0",
7272
"mocha": "~8.2.1",
7373
"mocha-junit-reporter": "~2.0.0",
7474
"mocha-multi-reporters": "~1.5.1",

src/controls/animatedStatusBar.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,14 @@ class AnimatedStatusBarItem implements StatusBarItem {
5959
this.statusBarItem.color = value;
6060
}
6161

62+
public get backgroundColor(): string | ThemeColor {
63+
return this.statusBarItem.backgroundColor;
64+
}
65+
66+
public set backgroundColor(value: string | ThemeColor) {
67+
this.statusBarItem.backgroundColor = value;
68+
}
69+
6270
public get command(): string | Command {
6371
return this.statusBarItem.command;
6472
}

0 commit comments

Comments
 (0)