Merge branch 'song-progress-graph' of https://github.com/DrabWeb/osu into song-progress-graph

This commit is contained in:
DrabWeb
2017-03-23 07:15:53 -03:00
6 changed files with 162 additions and 33 deletions

View File

@ -21,9 +21,10 @@ namespace osu.Desktop.VisualTests.Tests
Add(progress = new SongProgress
{
Anchor = Anchor.BottomCentre,
Origin = Anchor.BottomCentre,
RelativeSizeAxes = Axes.X
Anchor = Anchor.BottomLeft,
Origin = Anchor.BottomLeft,
RelativeSizeAxes = Axes.X,
Length = 100,
});
AddButton("Toggle Bar", progress.ToggleVisibility);
@ -40,7 +41,8 @@ namespace osu.Desktop.VisualTests.Tests
newValues.Add(RNG.Next(0, 11));
}
progress.DisplayValues(newValues.ToArray());
progress.Values = newValues.ToArray();
progress.CurrentTime = RNG.Next(0, 100);
}
}
}