mirror of
https://github.com/ppy/osu
synced 2024-12-16 20:05:41 +00:00
Merge pull request #2278 from peppy/focused-textbox-fix
Fix FocusedTextBox in line with framework changes
This commit is contained in:
commit
242ee8f6f1
@ -1 +1 @@
|
||||
Subproject commit cc39713fbf9427aa53df91e27ecd09d15661089f
|
||||
Subproject commit 241133f0a65326a563ba23b7166167a882d1d5cb
|
@ -30,6 +30,9 @@ namespace osu.Game.Graphics.UserInterface
|
||||
}
|
||||
}
|
||||
|
||||
// We may not be focused yet, but we need to handle keyboard input to be able to request focus
|
||||
public override bool HandleKeyboardInput => HoldFocus || base.HandleKeyboardInput;
|
||||
|
||||
protected override void OnFocus(InputState state)
|
||||
{
|
||||
base.OnFocus(state);
|
||||
|
Loading…
Reference in New Issue
Block a user