Fix secondary volume meters showing an incorrect volume until changed.

This commit is contained in:
Thomas Müller 2016-10-22 14:33:43 +02:00
parent ee463dc65c
commit 7ced6046d7

View File

@ -6,6 +6,7 @@ using osu.Framework.Graphics.Transformations;
using osu.Framework.Input;
using OpenTK;
using OpenTK.Graphics;
using osu.Framework;
namespace osu.Game
{
@ -56,6 +57,12 @@ namespace osu.Game
};
}
public override void Load(BaseGame game)
{
base.Load(game);
updateFill();
}
public double Volume
{
get { return volume.Value; }