From 5d4c3566cf4f3389f7ee9fd16512a52e40cf2d5e Mon Sep 17 00:00:00 2001 From: Salman Alshamrani Date: Mon, 4 Nov 2024 04:34:12 -0500 Subject: [PATCH] Use obsolete `AllowIme` until it's removed --- osu.Framework/Graphics/UserInterface/TextBox.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/osu.Framework/Graphics/UserInterface/TextBox.cs b/osu.Framework/Graphics/UserInterface/TextBox.cs index 810e2f89db..fb1ca73423 100644 --- a/osu.Framework/Graphics/UserInterface/TextBox.cs +++ b/osu.Framework/Graphics/UserInterface/TextBox.cs @@ -166,7 +166,9 @@ public bool ReadOnly protected TextBox() { - InputProperties = new TextInputProperties(TextInputType.Text, true); +#pragma warning disable CS0618 // Type or member is obsolete + InputProperties = new TextInputProperties(TextInputType.Text, AllowIme); +#pragma warning restore CS0618 // Type or member is obsolete Masking = true;