Skip to content

Commit

Permalink
Don't use KeyCombination.ContainsKey for two different purposes
Browse files Browse the repository at this point in the history
  • Loading branch information
Susko3 committed Mar 27, 2024
1 parent a1def8d commit e05083a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osu.Framework/Input/Bindings/KeyCombination.cs
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ internal static bool ContainsKeyPermissive(ImmutableArray<InputKey> candidate, I
break;
}

return ContainsKey(candidate, key);
return candidate.Contains(key);
}

/// <summary>
Expand Down

0 comments on commit e05083a

Please sign in to comment.