Merge pull request #99 from Tom94/general-improvements

Fix secondary volume meters showing an incorrect volume until changed.
This commit is contained in:
Dean Herbert 2016-10-22 23:51:14 +09:00 committed by GitHub
commit baf68ba593
1 changed files with 7 additions and 0 deletions

View File

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