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:
parent
9a0d9641ab
commit
ae7f1a9ef1
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user