mirror of
https://github.com/osukey/osukey.git
synced 2025-05-05 13:47:19 +09:00
Automatically focus name textbox upon add preset popover open
This commit is contained in:
parent
159d3b032c
commit
ca1b4689cb
@ -84,6 +84,13 @@ namespace osu.Game.Overlays.Mods
|
||||
createButton.TextColour = colourProvider.Background6;
|
||||
}
|
||||
|
||||
protected override void LoadComplete()
|
||||
{
|
||||
base.LoadComplete();
|
||||
|
||||
ScheduleAfterChildren(() => GetContainingInputManager().ChangeFocus(nameTextBox));
|
||||
}
|
||||
|
||||
private void tryCreatePreset()
|
||||
{
|
||||
if (string.IsNullOrWhiteSpace(nameTextBox.Current.Value))
|
||||
|
Loading…
x
Reference in New Issue
Block a user