Allow specifying order to SettingSource

This commit is contained in:
voidedWarranties
2020-02-09 20:11:37 -08:00
parent e6111a1888
commit 88a56d00bf
4 changed files with 32 additions and 8 deletions

View File

@ -10,7 +10,7 @@ namespace osu.Game.Rulesets.Catch.Mods
{
public class CatchModDifficultyAdjust : ModDifficultyAdjust
{
[SettingSource("Fruit Size", "Override a beatmap's set CS.")]
[SettingSource("Fruit Size", "Override a beatmap's set CS.", SettingSourceAttribute.FIRST)]
public BindableNumber<float> CircleSize { get; } = new BindableFloat
{
Precision = 0.1f,
@ -20,7 +20,7 @@ namespace osu.Game.Rulesets.Catch.Mods
Value = 5,
};
[SettingSource("Approach Rate", "Override a beatmap's set AR.")]
[SettingSource("Approach Rate", "Override a beatmap's set AR.", SettingSourceAttribute.LAST)]
public BindableNumber<float> ApproachRate { get; } = new BindableFloat
{
Precision = 0.1f,