mirror of
https://github.com/ppy/osu.git
synced 2024-11-15 09:47:24 +08:00
Fixed formatting for InspectCode
This commit is contained in:
parent
b42fa23e42
commit
0f61e19857
@ -495,6 +495,7 @@ namespace osu.Game.Overlays.Settings.Sections.Input
|
||||
RealmKeyBinding? existingBinding = keyBinding.KeyCombination.Equals(new KeyCombination(InputKey.None))
|
||||
? null
|
||||
: bindings.FirstOrDefault(other => other.ID != keyBinding.ID && other.KeyCombination.Equals(keyBinding.KeyCombination) && (!restoringBinding || other.ActionInt != keyBinding.ActionInt));
|
||||
|
||||
if (existingBinding == null)
|
||||
{
|
||||
realm.Write(r => r.Find<RealmKeyBinding>(keyBinding.ID)!.KeyCombinationString = keyBinding.KeyCombination.ToString());
|
||||
|
Loading…
Reference in New Issue
Block a user