mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 08:02:55 +08:00
Tidy up weird bind logic
This commit is contained in:
parent
9814c24741
commit
69b1347730
@ -187,13 +187,7 @@ namespace osu.Game.Overlays.Volume
|
||||
}
|
||||
};
|
||||
|
||||
Bindable.ValueChanged += volume =>
|
||||
{
|
||||
this.TransformTo("DisplayVolume",
|
||||
volume.NewValue,
|
||||
400,
|
||||
Easing.OutQuint);
|
||||
};
|
||||
Bindable.ValueChanged += volume => { this.TransformTo(nameof(DisplayVolume), volume.NewValue, 400, Easing.OutQuint); };
|
||||
|
||||
bgProgress.Current.Value = 0.75f;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user