1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-30 04:23:21 +08:00

Fix code quality

This commit is contained in:
jkh675 2024-12-21 22:27:21 +08:00
parent 9a0d9641ab
commit ae7f1a9ef1

View File

@ -212,7 +212,13 @@ namespace osu.Game.Overlays.Settings.Sections
};
renameButton.Action += rename;
textBox.OnCommit += delegate (TextBox _, bool _) { rename(); };
void onTextboxCommit(TextBox sender, bool newText)
{
rename();
}
textBox.OnCommit += onTextboxCommit;
}
protected override void PopIn()