From df524d68fd82722f5ea3a18a42f62db807ce5326 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bart=C5=82omiej=20Dach?= Date: Mon, 22 Dec 2025 10:04:29 +0100 Subject: [PATCH] Move disable to better place --- osu.Game/Graphics/UserInterfaceV2/FormSliderBar.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osu.Game/Graphics/UserInterfaceV2/FormSliderBar.cs b/osu.Game/Graphics/UserInterfaceV2/FormSliderBar.cs index f4702f000c..aaa66742b3 100644 --- a/osu.Game/Graphics/UserInterfaceV2/FormSliderBar.cs +++ b/osu.Game/Graphics/UserInterfaceV2/FormSliderBar.cs @@ -207,7 +207,6 @@ namespace osu.Game.Graphics.UserInterfaceV2 } currentNumberInstantaneous.Disabled = disabled; - textBox.ReadOnly = disabled; updateState(); }; @@ -295,6 +294,7 @@ namespace osu.Game.Graphics.UserInterfaceV2 bool childHasFocus = slider.Focused.Value || textBox.Focused.Value; textBox.Alpha = 1; + textBox.ReadOnly = Current.Disabled; background.Colour = currentNumberInstantaneous.Disabled ? colourProvider.Background4 : colourProvider.Background5; captionText.Colour = currentNumberInstantaneous.Disabled ? colourProvider.Foreground1 : colourProvider.Content2;