1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 17:47:29 +08:00

Select all text when popover is initially shown

Depends on https://github.com/ppy/osu-framework/pull/5823.
This commit is contained in:
Dean Herbert 2023-06-01 16:53:29 +09:00
parent e1395fd62f
commit c1743dbe1d

View File

@ -328,7 +328,7 @@ namespace osu.Game.Screens.Edit.Compose.Components
BeatDivisor.BindValueChanged(_ => updateState(), true);
divisorTextBox.OnCommit += (_, _) => setPresets();
Schedule(() => GetContainingInputManager().ChangeFocus(divisorTextBox));
divisorTextBox.SelectAll();
}
private void setPresets()