1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-02 23:41:00 +08:00

Fix code quality

This commit is contained in:
jkh675
2024-12-21 22:27:21 +08:00
Unverified
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()