Remove useless check

This commit is contained in:
ansel
2022-11-30 13:32:01 +03:00
parent a8422961dc
commit bedc771e99

View File

@ -116,13 +116,7 @@ namespace osu.Game.Overlays.Comments
}
});
textBox.OnCommit += (_, _) =>
{
if (CommitButton.IsLoadingSpinnerShown)
return;
CommitButton.TriggerClick();
};
textBox.OnCommit += (_, _) => CommitButton.TriggerClick();
}
protected override void LoadComplete()