From ed091dc9cd696f2f681d2fb9303595d9f63d1898 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Fri, 9 Jan 2026 17:48:44 +0900 Subject: [PATCH] Adjust toggleable subsection colour to always be bright when enabled --- .../Overlays/Settings/Sections/InputSubsection.cs | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/osu.Game/Overlays/Settings/Sections/InputSubsection.cs b/osu.Game/Overlays/Settings/Sections/InputSubsection.cs index 985c4fb4f0..50fb688707 100644 --- a/osu.Game/Overlays/Settings/Sections/InputSubsection.cs +++ b/osu.Game/Overlays/Settings/Sections/InputSubsection.cs @@ -13,6 +13,7 @@ using osu.Game.Graphics.Sprites; using osu.Game.Graphics.UserInterface; using osu.Game.Graphics.UserInterfaceV2; using osuTK; +using osuTK.Graphics; namespace osu.Game.Overlays.Settings.Sections { @@ -169,10 +170,13 @@ namespace osu.Game.Overlays.Settings.Sections private void updateDisplay() { - if (toggleable && IsHovered) - headerText.FadeColour(colourProvider.Light1, 300, Easing.OutQuint); - else - headerText.FadeColour(Current.Value ? colourProvider.Content1 : colourProvider.Foreground1, 300, Easing.OutQuint); + // default, toggled on (or not toggleable) + Color4 col = colourProvider.Content1; + + if (toggleable && !Current.Value) + col = IsHovered ? colourProvider.Light1 : colourProvider.Foreground1; + + headerText.FadeColour(col, 300, Easing.OutQuint); } } }