mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 13:37:25 +08:00
Switch state case placements for consistency
Tickled me.
This commit is contained in:
parent
26cdcc8d78
commit
5c9c424a0d
@ -66,17 +66,17 @@ namespace osu.Game.Skinning
|
||||
{
|
||||
switch (args.Action)
|
||||
{
|
||||
case NotifyCollectionChangedAction.Remove:
|
||||
foreach (var source in args.OldItems.Cast<ISkin>().OfType<ISkinSource>())
|
||||
source.SourceChanged -= OnSourceChanged;
|
||||
|
||||
break;
|
||||
|
||||
case NotifyCollectionChangedAction.Add:
|
||||
foreach (var source in args.NewItems.Cast<ISkin>().OfType<ISkinSource>())
|
||||
source.SourceChanged += OnSourceChanged;
|
||||
|
||||
break;
|
||||
|
||||
case NotifyCollectionChangedAction.Remove:
|
||||
foreach (var source in args.OldItems.Cast<ISkin>().OfType<ISkinSource>())
|
||||
source.SourceChanged -= OnSourceChanged;
|
||||
|
||||
break;
|
||||
}
|
||||
}), true);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user