1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 10:12:54 +08:00

move SettingDescription override to ModRateAdjust

This commit is contained in:
Liam DeVoe 2020-03-22 22:57:46 -04:00
parent 1da590c63f
commit 5cc626d37b
3 changed files with 2 additions and 4 deletions

View File

@ -30,7 +30,5 @@ namespace osu.Game.Rulesets.Mods
Value = 1.5,
Precision = 0.01,
};
public override string SettingDescription => SpeedChange.IsDefault ? string.Empty : $"{SpeedChange.Value:N1}x";
}
}

View File

@ -30,7 +30,5 @@ namespace osu.Game.Rulesets.Mods
Value = 0.75,
Precision = 0.01,
};
public override string SettingDescription => SpeedChange.IsDefault ? string.Empty : $"{SpeedChange.Value:N1}x";
}
}

View File

@ -15,5 +15,7 @@ namespace osu.Game.Rulesets.Mods
{
track.AddAdjustment(AdjustableProperty.Tempo, SpeedChange);
}
public override string SettingDescription => SpeedChange.IsDefault ? string.Empty : $"{SpeedChange.Value:N1}x";
}
}