1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 14:32:55 +08:00
This commit is contained in:
smoogipoo 2017-10-04 18:55:45 +09:00
parent 80e984f72d
commit 81960c7b48
2 changed files with 2 additions and 5 deletions

View File

@ -23,7 +23,6 @@ namespace osu.Game.Screens.Edit.Screens.Compose
/// <summary>
/// The beatmap which the audio waveform should be displayed for.
/// </summary>
/// <returns></returns>
public readonly Bindable<WorkingBeatmap> Beatmap = new Bindable<WorkingBeatmap>();
private Shader shader;
@ -46,7 +45,6 @@ namespace osu.Game.Screens.Edit.Screens.Compose
/// Controls the amount of interpolation of the waveform into the width of this <see cref="WaveformDisplay"/>.
/// Points in the waveform are interpolated between 1 / <see cref="Resolution"/> pixels of this <see cref="WaveformDisplay"/>.
/// </summary>
/// <returns></returns>
public float Resolution
{
get { return resolution; }

View File

@ -21,7 +21,6 @@ namespace osu.Game.Tests.Visual
public TestCaseWaveform()
{
MusicController mc;
FillFlowContainer flow;
Child = flow = new FillFlowContainer
{
@ -30,7 +29,7 @@ namespace osu.Game.Tests.Visual
Spacing = new Vector2(0, 10),
Children = new Drawable[]
{
mc = new MusicController
new MusicController
{
Anchor = Anchor.TopCentre,
Origin = Anchor.TopCentre,
@ -74,7 +73,7 @@ namespace osu.Game.Tests.Visual
{
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
Text = $"Resolution: {(1f / i).ToString("0.00")}"
Text = $"Resolution: {(1f / i):0.00}"
}
}
}