osu/osu.Game.Tests/Visual/Editor/TestSceneTimelineTickDispla...

33 lines
953 B
C#
Raw Normal View History

2020-01-27 08:34:25 +00:00
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Screens.Edit.Compose.Components;
using osu.Game.Screens.Edit.Compose.Components.Timeline;
using osuTK;
namespace osu.Game.Tests.Visual.Editor
{
[TestFixture]
2020-01-27 09:10:42 +00:00
public class TestSceneTimelineTickDisplay : TimelineTestScene
2020-01-27 08:34:25 +00:00
{
2020-01-27 09:07:46 +00:00
public override Drawable CreateTestComponent() => new TimelineTickDisplay();
2020-01-27 08:34:25 +00:00
[BackgroundDependencyLoader]
private void load()
{
BeatDivisor.Value = 4;
Add(new BeatDivisorControl(BeatDivisor)
{
Anchor = Anchor.TopRight,
Origin = Anchor.TopRight,
Margin = new MarginPadding(30),
Size = new Vector2(90)
});
}
}
}