theming - activity bar badges

This commit is contained in:
Benjamin Pasero
2017-03-25 16:44:32 -07:00
parent cca161bd47
commit 41d87c2f4a
5 changed files with 44 additions and 19 deletions

View File

@@ -105,7 +105,7 @@ export class Checkbox extends Widget {
protected _applyStyles() {
if (this.domNode) {
this.domNode.style.borderColor = this._checked ? this._opts.checkedBorderColor.toString() : null;
this.domNode.style.borderColor = this._checked && this._opts.checkedBorderColor ? this._opts.checkedBorderColor.toString() : null;
}
}