mirror of
https://github.com/ppy/osu.git
synced 2026-06-03 05:30:11 +08:00
Fix code quality
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user