Skip to content

Commit

Permalink
Merge branch 'feature-themeColor' of https://github.com/quxingkai/core
Browse files Browse the repository at this point in the history
…into feature-themeColor
  • Loading branch information
quxingkai committed Jan 7, 2025
2 parents 9378473 + 24a8e8d commit 5a52ffd
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export class StatusBarItemImpl implements vscode.StatusBarItem {
private _tooltip?: string | vscode.MarkdownString;
private _name?: string;
private _color: string | ThemeColor | undefined;
private _backgroundColor: string | ThemeColor | undefined;
private _backgroundColor: ThemeColor | undefined;
private _command: string | vscode.Command | undefined;

private _isVisible: boolean;
Expand Down Expand Up @@ -148,11 +148,11 @@ export class StatusBarItemImpl implements vscode.StatusBarItem {
this.update();
}

public get backgroundColor(): string | ThemeColor | undefined {
public get backgroundColor(): ThemeColor | undefined {
return this._backgroundColor;
}

public set backgroundColor(color: string | ThemeColor | undefined) {
public set backgroundColor(color: ThemeColor | undefined) {
if (!color) {
color = undefined;
} else if (isString(color)) {
Expand Down

0 comments on commit 5a52ffd

Please sign in to comment.