From 01e267846ec2a33711bccb0d8a8e66f0069e9ce4 Mon Sep 17 00:00:00 2001 From: MathMan05 Date: Wed, 9 Apr 2025 15:49:43 -0500 Subject: [PATCH] fix color bugs --- src/webpage/localuser.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/webpage/localuser.ts b/src/webpage/localuser.ts index 0c03c1c..3c362d4 100644 --- a/src/webpage/localuser.ts +++ b/src/webpage/localuser.ts @@ -1805,10 +1805,11 @@ class Localuser { accessibility.addCheckboxInput( I18n.accessibility.roleColors(), (t) => { + console.log(t); this.perminfo.user.disableColors = !t; }, { - initState: !!this.perminfo.user.disableColors, + initState: !this.perminfo.user.disableColors, }, ); const gifSettings = ["hover", "always", "never"] as const;