From fdf28474bfcac8fb68953030e3778302b719d1fc Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Mon, 26 Jan 2026 20:52:23 +0900 Subject: [PATCH] Add prefix for input device header --- osu.Game/Overlays/Settings/Sections/InputSubsection.cs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/osu.Game/Overlays/Settings/Sections/InputSubsection.cs b/osu.Game/Overlays/Settings/Sections/InputSubsection.cs index 37c619f3cd..0c089d30df 100644 --- a/osu.Game/Overlays/Settings/Sections/InputSubsection.cs +++ b/osu.Game/Overlays/Settings/Sections/InputSubsection.cs @@ -12,7 +12,6 @@ using osu.Game.Graphics; 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 @@ -85,14 +84,14 @@ namespace osu.Game.Overlays.Settings.Sections private partial class ToggleableHeader : CompositeDrawable { - private readonly LocalisableString header; + private readonly LocalisableString text; private readonly bool toggleable; public readonly BindableBool Current = new BindableBool(true); - public ToggleableHeader(LocalisableString header, bool toggleable) + public ToggleableHeader(LocalisableString text, bool toggleable) { - this.header = header; + this.text = text; this.toggleable = toggleable; } @@ -119,7 +118,7 @@ namespace osu.Game.Overlays.Settings.Sections }, headerText = new OsuSpriteText { - Text = header, + Text = $"Device: {text}", Font = OsuFont.Style.Heading2, Margin = new MarginPadding { Vertical = 12 }, X = 18,