mirror of
https://github.com/osukey/osukey.git
synced 2025-05-29 01:17:35 +09:00
Actually rename to DrawableBeatDivisor...
This commit is contained in:
parent
5ecbc5612c
commit
c5eab7a227
@ -14,7 +14,7 @@ namespace osu.Game.Tests.Visual
|
|||||||
{
|
{
|
||||||
public override IReadOnlyList<Type> RequiredTypes => new[]
|
public override IReadOnlyList<Type> RequiredTypes => new[]
|
||||||
{
|
{
|
||||||
typeof(BeatSnapVisualiser)
|
typeof(DrawableBeatDivisor)
|
||||||
};
|
};
|
||||||
|
|
||||||
private DependencyContainer dependencies;
|
private DependencyContainer dependencies;
|
||||||
@ -27,7 +27,7 @@ namespace osu.Game.Tests.Visual
|
|||||||
{
|
{
|
||||||
dependencies.Cache(new BindableBeatDivisor());
|
dependencies.Cache(new BindableBeatDivisor());
|
||||||
|
|
||||||
Child = new BeatSnapVisualiser
|
Child = new DrawableBeatDivisor
|
||||||
{
|
{
|
||||||
Anchor = Anchor.Centre,
|
Anchor = Anchor.Centre,
|
||||||
Origin = Anchor.Centre,
|
Origin = Anchor.Centre,
|
||||||
|
@ -70,7 +70,7 @@ namespace osu.Game.Screens.Edit.Screens.Compose
|
|||||||
Padding = new MarginPadding { Right = 5 },
|
Padding = new MarginPadding { Right = 5 },
|
||||||
Child = timeline = new ScrollableTimeline { RelativeSizeAxes = Axes.Both }
|
Child = timeline = new ScrollableTimeline { RelativeSizeAxes = Axes.Both }
|
||||||
},
|
},
|
||||||
new BeatSnapVisualiser { RelativeSizeAxes = Axes.Both }
|
new DrawableBeatDivisor { RelativeSizeAxes = Axes.Both }
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
ColumnDimensions = new[]
|
ColumnDimensions = new[]
|
||||||
|
@ -15,7 +15,7 @@ using OpenTK.Graphics;
|
|||||||
|
|
||||||
namespace osu.Game.Screens.Edit.Screens.Compose
|
namespace osu.Game.Screens.Edit.Screens.Compose
|
||||||
{
|
{
|
||||||
public class BeatSnapVisualiser : CompositeDrawable
|
public class DrawableBeatDivisor : CompositeDrawable
|
||||||
{
|
{
|
||||||
private static readonly int[] available_divisors = { 1, 2, 3, 4, 6, 8, 12, 16 };
|
private static readonly int[] available_divisors = { 1, 2, 3, 4, 6, 8, 12, 16 };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user