mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 10:52:53 +08:00
remove blank line and try to get test case working
This commit is contained in:
parent
bafcab1349
commit
ec013dbee8
@ -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);
|
||||
|
@ -75,7 +75,6 @@ namespace osu.Game.Overlays
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
volumeMeterMaster.Bindable.BindTo(audio.Volume);
|
||||
volumeMeterEffect.Bindable.BindTo(audio.VolumeSample);
|
||||
volumeMeterMusic.Bindable.BindTo(audio.VolumeTrack);
|
||||
|
Loading…
Reference in New Issue
Block a user