From beb3df65aa172a9366909e2f0a12abf35d5a27e9 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Sun, 30 Dec 2018 22:31:14 +0900 Subject: [PATCH] More focus avoidance --- osu.Game/Graphics/UserInterface/FocusedTextBox.cs | 2 +- osu.Game/Overlays/SettingsOverlay.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/osu.Game/Graphics/UserInterface/FocusedTextBox.cs b/osu.Game/Graphics/UserInterface/FocusedTextBox.cs index c7886bbe51..3fbf2f3aab 100644 --- a/osu.Game/Graphics/UserInterface/FocusedTextBox.cs +++ b/osu.Game/Graphics/UserInterface/FocusedTextBox.cs @@ -23,7 +23,7 @@ namespace osu.Game.Graphics.UserInterface public bool HoldFocus { - get { return focus; } + get => false; set { focus = value; diff --git a/osu.Game/Overlays/SettingsOverlay.cs b/osu.Game/Overlays/SettingsOverlay.cs index e5eee22164..7d95de3ec7 100644 --- a/osu.Game/Overlays/SettingsOverlay.cs +++ b/osu.Game/Overlays/SettingsOverlay.cs @@ -179,7 +179,7 @@ namespace osu.Game.Overlays protected override void OnFocus(FocusEvent e) { - GetContainingInputManager().ChangeFocus(searchTextBox); + //GetContainingInputManager().ChangeFocus(searchTextBox); base.OnFocus(e); }