1
0
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:
Dean Herbert 2018-03-07 14:51:34 +09:00
parent 05a13d4d39
commit 96ea42d3ba

View File

@ -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>