mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 07:06:35 +09:00
Update ScrollContainer usages in line with framework changes
This commit is contained in:
@ -10,6 +10,7 @@ using osu.Framework.Graphics.Cursor;
|
||||
using osu.Framework.Graphics.Shapes;
|
||||
using osu.Framework.Graphics.Sprites;
|
||||
using osu.Game.Graphics;
|
||||
using osu.Game.Graphics.Containers;
|
||||
using osuTK;
|
||||
using osuTK.Graphics;
|
||||
|
||||
@ -29,7 +30,7 @@ namespace osu.Game.Tests.Visual.UserInterface
|
||||
Colour = Color4.Teal,
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
},
|
||||
new ScrollContainer
|
||||
new OsuScrollContainer
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
Child = flow = new FillFlowContainer<Icon>
|
||||
|
@ -9,6 +9,7 @@ using osu.Framework.Graphics;
|
||||
using osu.Framework.Graphics.Containers;
|
||||
using osu.Game.Beatmaps;
|
||||
using osu.Game.Beatmaps.Drawables;
|
||||
using osu.Game.Graphics.Containers;
|
||||
using osu.Game.Online.API;
|
||||
using osu.Game.Online.API.Requests;
|
||||
using osu.Game.Rulesets;
|
||||
@ -92,13 +93,13 @@ namespace osu.Game.Tests.Visual.UserInterface
|
||||
public void TestUnloadAndReload()
|
||||
{
|
||||
var backgrounds = new List<TestUpdateableBeatmapBackgroundSprite>();
|
||||
ScrollContainer scrollContainer = null;
|
||||
OsuScrollContainer scrollContainer = null;
|
||||
|
||||
AddStep("create backgrounds hierarchy", () =>
|
||||
{
|
||||
FillFlowContainer backgroundFlow;
|
||||
|
||||
Child = scrollContainer = new ScrollContainer
|
||||
Child = scrollContainer = new OsuScrollContainer
|
||||
{
|
||||
Size = new Vector2(500),
|
||||
Child = backgroundFlow = new FillFlowContainer
|
||||
|
Reference in New Issue
Block a user