2021-04-29 17:47:22 +08: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.Graphics;
|
|
|
|
using osu.Game.Rulesets;
|
|
|
|
using osu.Game.Rulesets.Osu;
|
2021-04-30 11:09:58 +08:00
|
|
|
using osu.Game.Skinning.Editor;
|
2021-04-29 17:47:22 +08:00
|
|
|
|
|
|
|
namespace osu.Game.Tests.Visual.Gameplay
|
|
|
|
{
|
|
|
|
public class TestSceneSkinEditorComponentsList : SkinnableTestScene
|
|
|
|
{
|
|
|
|
[Test]
|
|
|
|
public void TestToggleEditor()
|
|
|
|
{
|
2021-06-02 15:04:53 +08:00
|
|
|
AddStep("show available components", () => SetContents(_ => new SkinComponentToolbox(300)
|
2021-04-29 17:47:22 +08:00
|
|
|
{
|
2021-04-30 11:09:58 +08:00
|
|
|
Anchor = Anchor.TopCentre,
|
|
|
|
Origin = Anchor.TopCentre,
|
|
|
|
}));
|
2021-04-29 17:47:22 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
protected override Ruleset CreateRulesetForSkinProvider() => new OsuRuleset();
|
|
|
|
}
|
|
|
|
}
|