mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 21:43:04 +08: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 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; }
|
||||
|
Loading…
Reference in New Issue
Block a user