mirror of https://github.com/ppy/osu
Use `AsOrdered()` when presenting mod presets too
This commit is contained in:
parent
c0728f0b2e
commit
9a49f44db0
|
@ -159,7 +159,7 @@ private void useCurrentMods()
|
|||
|
||||
private void updateState()
|
||||
{
|
||||
scrollContent.ChildrenEnumerable = saveableMods.Select(mod => new ModPresetRow(mod));
|
||||
scrollContent.ChildrenEnumerable = saveableMods.AsOrdered().Select(mod => new ModPresetRow(mod));
|
||||
useCurrentModsButton.Enabled.Value = checkSelectedModsDiffersFromSaved();
|
||||
}
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@ public void SetContent(ModPreset preset)
|
|||
return;
|
||||
|
||||
lastPreset = preset;
|
||||
Content.ChildrenEnumerable = preset.Mods.Select(mod => new ModPresetRow(mod));
|
||||
Content.ChildrenEnumerable = preset.Mods.AsOrdered().Select(mod => new ModPresetRow(mod));
|
||||
}
|
||||
|
||||
protected override void PopIn() => this.FadeIn(transition_duration, Easing.OutQuint);
|
||||
|
|
Loading…
Reference in New Issue