remove blank line and try to get test case working

This commit is contained in:
jorolf
2018-03-03 21:55:19 +01:00
parent bafcab1349
commit ec013dbee8
2 changed files with 3 additions and 4 deletions

View File

@ -18,11 +18,11 @@ namespace osu.Game.Tests.Visual
{
VolumeMeter meter;
MuteButton mute;
Add(meter = new VolumeMeter("MASTER", 125, Color4.Blue));
Add(mute = new MuteButton
LoadComponentAsync(meter = new VolumeMeter("MASTER", 125, Color4.Blue), Add);
LoadComponentAsync(mute = new MuteButton
{
Margin = new MarginPadding { Top = 200 }
});
}, Add);
AddSliderStep("master volume", 0, 10, 0, i => meter.Bindable.Value = i * 0.1);
AddToggleStep("mute", b => mute.Current.Value = b);