mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Automatically focus name textbox upon add preset popover open
This commit is contained in:
@ -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))
|
||||
|
Reference in New Issue
Block a user