mirror of
https://github.com/ppy/osu
synced 2025-01-31 10:22:02 +00:00
Fix secondary volume meters showing an incorrect volume until changed.
This commit is contained in:
parent
ee463dc65c
commit
7ced6046d7
@ -6,6 +6,7 @@ using osu.Framework.Graphics.Transformations;
|
|||||||
using osu.Framework.Input;
|
using osu.Framework.Input;
|
||||||
using OpenTK;
|
using OpenTK;
|
||||||
using OpenTK.Graphics;
|
using OpenTK.Graphics;
|
||||||
|
using osu.Framework;
|
||||||
|
|
||||||
namespace osu.Game
|
namespace osu.Game
|
||||||
{
|
{
|
||||||
@ -56,6 +57,12 @@ namespace osu.Game
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public override void Load(BaseGame game)
|
||||||
|
{
|
||||||
|
base.Load(game);
|
||||||
|
updateFill();
|
||||||
|
}
|
||||||
|
|
||||||
public double Volume
|
public double Volume
|
||||||
{
|
{
|
||||||
get { return volume.Value; }
|
get { return volume.Value; }
|
||||||
|
Loading…
Reference in New Issue
Block a user