1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 15:33:21 +08:00

Update time ramp preview on setting change

This commit is contained in:
Dean Herbert 2019-12-12 17:28:31 +09:00
parent bd3fe23cee
commit 623ab1ef3b

View File

@ -35,6 +35,12 @@ namespace osu.Game.Rulesets.Mods
private Track track;
public ModTimeRamp()
{
// for preview purpose at song select. eventually we'll want to be able to update every frame.
FinalRate.BindValueChanged(val => applyAdjustment(1), true);
}
public void ApplyToTrack(Track track)
{
this.track = track;