forked from mirror/ObjToSchematic
Disabled checkbox text no longer dim text colour
This commit is contained in:
parent
d67e4451e1
commit
2f1978f8bb
@ -152,7 +152,7 @@ export class CheckboxComponent extends ConfigComponent<boolean, HTMLSelectElemen
|
||||
if (this.enabled) {
|
||||
if (this.hovered) {
|
||||
checkboxTextElement.classList.add('text-light');
|
||||
} else if (this.getValue()) {
|
||||
} else {
|
||||
checkboxTextElement.classList.add('text-standard');
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user