Change to use ReferenceEquals

This commit is contained in:
Dan Balasescu 2022-06-21 12:05:52 +09:00
parent 6a26461683
commit 9763a58392

View File

@ -44,7 +44,7 @@ namespace osu.Game.Screens.Edit.Timing
{
BackgroundFlow.Add(new RowBackground(group)
{
Selected = group.Equals(selectedGroup?.Value),
Selected = ReferenceEquals(group, selectedGroup?.Value),
Action = () =>
{
selectedGroup.Value = group;