mirror of https://github.com/ppy/osu
Mini -> Summary
This commit is contained in:
parent
967bfa404e
commit
5978668d2b
|
@ -24,16 +24,16 @@
|
|||
|
||||
namespace osu.Game.Tests.Visual
|
||||
{
|
||||
internal class TestCaseEditorMiniTimeline : OsuTestCase
|
||||
internal class TestCaseEditorSummaryTimeline : OsuTestCase
|
||||
{
|
||||
private const int length = 60000;
|
||||
private readonly Random random;
|
||||
|
||||
public TestCaseEditorMiniTimeline()
|
||||
public TestCaseEditorSummaryTimeline()
|
||||
{
|
||||
random = new Random(1337);
|
||||
|
||||
Add(new MiniTimeline
|
||||
Add(new SummaryTimeline
|
||||
{
|
||||
Anchor = Anchor.Centre,
|
||||
Origin = Anchor.Centre,
|
||||
|
@ -93,7 +93,7 @@ public TestTrack()
|
|||
/// <summary>
|
||||
/// The timeline that sits at the bottom of the editor.
|
||||
/// </summary>
|
||||
private class MiniTimeline : CompositeDrawable
|
||||
private class SummaryTimeline : CompositeDrawable
|
||||
{
|
||||
private const float corner_radius = 5;
|
||||
private const float contents_padding = 15;
|
||||
|
@ -108,7 +108,7 @@ private class MiniTimeline : CompositeDrawable
|
|||
|
||||
private readonly Bindable<WorkingBeatmap> beatmap = new Bindable<WorkingBeatmap>();
|
||||
|
||||
public MiniTimeline()
|
||||
public SummaryTimeline()
|
||||
{
|
||||
Masking = true;
|
||||
CornerRadius = 5;
|
||||
|
@ -238,7 +238,7 @@ protected override bool OnMouseDown(InputState state, MouseDownEventArgs args)
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Seeks the <see cref="MiniTimeline"/> to the time closest to a position on the screen relative to the <see cref="MiniTimeline"/>.
|
||||
/// Seeks the <see cref="SummaryTimeline"/> to the time closest to a position on the screen relative to the <see cref="SummaryTimeline"/>.
|
||||
/// </summary>
|
||||
/// <param name="screenPosition">The position in screen coordinates.</param>
|
||||
private void seekToPosition(Vector2 screenPosition)
|
|
@ -733,7 +733,7 @@
|
|||
<Compile Include="Tests\Visual\TestCaseDrawableRoom.cs" />
|
||||
<Compile Include="Tests\Visual\TestCaseDrawings.cs" />
|
||||
<Compile Include="Tests\Visual\TestCaseEditorMenuBar.cs" />
|
||||
<Compile Include="Tests\Visual\TestCaseEditorMiniTimeline.cs" />
|
||||
<Compile Include="Tests\Visual\TestCaseEditorSummaryTimeline.cs" />
|
||||
<Compile Include="Tests\Visual\TestCaseGamefield.cs" />
|
||||
<Compile Include="Tests\Visual\TestCaseGraph.cs" />
|
||||
<Compile Include="Tests\Visual\TestCaseKeyConfiguration.cs" />
|
||||
|
|
Loading…
Reference in New Issue