mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 16:03:01 +08:00
Revert "Add PopoverContainer to TimelineTestScene"
This reverts commit 8acfe6b58b
.
This commit is contained in:
parent
eb8ac89513
commit
3110f87831
@ -9,7 +9,6 @@ using osu.Framework.Audio;
|
|||||||
using osu.Framework.Bindables;
|
using osu.Framework.Bindables;
|
||||||
using osu.Framework.Graphics;
|
using osu.Framework.Graphics;
|
||||||
using osu.Framework.Graphics.Containers;
|
using osu.Framework.Graphics.Containers;
|
||||||
using osu.Framework.Graphics.Cursor;
|
|
||||||
using osu.Framework.Graphics.Shapes;
|
using osu.Framework.Graphics.Shapes;
|
||||||
using osu.Framework.Testing;
|
using osu.Framework.Testing;
|
||||||
using osu.Game.Beatmaps;
|
using osu.Game.Beatmaps;
|
||||||
@ -52,35 +51,28 @@ namespace osu.Game.Tests.Visual.Editing
|
|||||||
|
|
||||||
Composer.Alpha = 0;
|
Composer.Alpha = 0;
|
||||||
|
|
||||||
Add(new PopoverContainer
|
Add(new OsuContextMenuContainer
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
Children = new Drawable[]
|
Children = new Drawable[]
|
||||||
{
|
{
|
||||||
new OsuContextMenuContainer
|
EditorBeatmap,
|
||||||
|
Composer,
|
||||||
|
new FillFlowContainer
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both,
|
AutoSizeAxes = Axes.Both,
|
||||||
|
Direction = FillDirection.Vertical,
|
||||||
|
Spacing = new Vector2(0, 5),
|
||||||
Children = new Drawable[]
|
Children = new Drawable[]
|
||||||
{
|
{
|
||||||
EditorBeatmap,
|
new StartStopButton(),
|
||||||
Composer,
|
new AudioVisualiser(),
|
||||||
new FillFlowContainer
|
|
||||||
{
|
|
||||||
AutoSizeAxes = Axes.Both,
|
|
||||||
Direction = FillDirection.Vertical,
|
|
||||||
Spacing = new Vector2(0, 5),
|
|
||||||
Children = new Drawable[]
|
|
||||||
{
|
|
||||||
new StartStopButton(),
|
|
||||||
new AudioVisualiser(),
|
|
||||||
}
|
|
||||||
},
|
|
||||||
TimelineArea = new TimelineArea(CreateTestComponent())
|
|
||||||
{
|
|
||||||
Anchor = Anchor.Centre,
|
|
||||||
Origin = Anchor.Centre,
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
TimelineArea = new TimelineArea(CreateTestComponent())
|
||||||
|
{
|
||||||
|
Anchor = Anchor.Centre,
|
||||||
|
Origin = Anchor.Centre,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user