mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 12:53:11 +08:00
Update time ramp preview on setting change
This commit is contained in:
parent
bd3fe23cee
commit
623ab1ef3b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user