mirror of
https://github.com/osukey/osukey.git
synced 2025-05-07 22:57:31 +09:00
Focus password text box on popover display
This commit is contained in:
parent
5a2667ae89
commit
6409a518db
@ -357,11 +357,11 @@ namespace osu.Game.Screens.OnlinePlay.Lounge.Components
|
||||
this.room = room;
|
||||
}
|
||||
|
||||
private OsuPasswordTextBox passwordTextbox;
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(OsuColour colours)
|
||||
{
|
||||
OsuPasswordTextBox passwordTextbox;
|
||||
|
||||
Child = new FillFlowContainer
|
||||
{
|
||||
Margin = new MarginPadding(10),
|
||||
@ -383,6 +383,13 @@ namespace osu.Game.Screens.OnlinePlay.Lounge.Components
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
protected override void LoadComplete()
|
||||
{
|
||||
base.LoadComplete();
|
||||
|
||||
GetContainingInputManager().ChangeFocus(passwordTextbox);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user