mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 09:07:25 +08:00
Merge pull request #8409 from peppy/fix-song-select-play-crash
Fix crash when holding a key down while entering player
This commit is contained in:
commit
191c972e63
@ -136,6 +136,8 @@ namespace osu.Game.Screens.Select
|
||||
|
||||
public void Deactivate()
|
||||
{
|
||||
searchTextBox.ReadOnly = true;
|
||||
|
||||
searchTextBox.HoldFocus = false;
|
||||
if (searchTextBox.HasFocus)
|
||||
GetContainingInputManager().ChangeFocus(searchTextBox);
|
||||
@ -143,6 +145,7 @@ namespace osu.Game.Screens.Select
|
||||
|
||||
public void Activate()
|
||||
{
|
||||
searchTextBox.ReadOnly = false;
|
||||
searchTextBox.HoldFocus = true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user