mirror of https://github.com/ppy/osu
Merge pull request #99 from Tom94/general-improvements
Fix secondary volume meters showing an incorrect volume until changed.
This commit is contained in:
commit
baf68ba593
|
@ -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; }
|
||||
|
|
Loading…
Reference in New Issue