diff --git a/osu.Game/Graphics/UserInterface/Volume/VolumeMeter.cs b/osu.Game/Graphics/UserInterface/Volume/VolumeMeter.cs index 230066cf9b..4416a1da80 100644 --- a/osu.Game/Graphics/UserInterface/Volume/VolumeMeter.cs +++ b/osu.Game/Graphics/UserInterface/Volume/VolumeMeter.cs @@ -41,6 +41,7 @@ namespace osu.Game.Graphics.UserInterface.Volume meterFill = new Box { Colour = Color4.White, + Scale = new Vector2(1, 0), RelativeSizeAxes = Axes.Both, Origin = Anchor.BottomCentre, Anchor = Anchor.BottomCentre @@ -54,6 +55,8 @@ namespace osu.Game.Graphics.UserInterface.Volume Origin = Anchor.TopCentre } }; + + Bindable.ValueChanged += delegate { updateFill(); }; } protected override void LoadComplete() @@ -68,7 +71,6 @@ namespace osu.Game.Graphics.UserInterface.Volume private set { Bindable.Value = value; - updateFill(); } }