Disabled checkbox text no longer dim text colour

This commit is contained in:
Lucas Dower 2023-06-26 14:25:17 +01:00
parent d67e4451e1
commit 2f1978f8bb

View File

@ -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 {