Merge branch 'master' into realm-key-binding-store

This commit is contained in:
Dean Herbert
2021-06-10 13:58:08 +09:00
340 changed files with 5939 additions and 2341 deletions

View File

@ -30,12 +30,14 @@ namespace osu.Game.Rulesets.UI
{
set
{
if (recorder != null)
if (value != null && recorder != null)
throw new InvalidOperationException("Cannot attach more than one recorder");
recorder?.Expire();
recorder = value;
KeyBindingContainer.Add(recorder);
if (recorder != null)
KeyBindingContainer.Add(recorder);
}
}