mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 06:42:54 +08:00
Ensure initial value is set even if that value is zero
This commit is contained in:
parent
05a13d4d39
commit
96ea42d3ba
@ -122,10 +122,15 @@ namespace osu.Game.Overlays.Volume
|
||||
});
|
||||
|
||||
Bindable.ValueChanged += newVolume => { this.TransformTo("DisplayVolume", newVolume, 400, Easing.OutQuint); };
|
||||
|
||||
bgProgress.Current.Value = 0.75f;
|
||||
}
|
||||
|
||||
protected override void LoadComplete()
|
||||
{
|
||||
base.LoadComplete();
|
||||
Bindable.TriggerChange();
|
||||
}
|
||||
|
||||
private double displayVolume;
|
||||
|
||||
/// <summary>
|
||||
|
Loading…
Reference in New Issue
Block a user