mirror of
https://github.com/ppy/osu.git
synced 2026-05-19 10:40:33 +08:00
Merge pull request #33099 from frenzibyte/ssv2-skin
SongSelectV2: Add back skinning support
This commit is contained in:
@@ -19,6 +19,19 @@ namespace osu.Game.Tests.Visual.SongSelectV2
|
||||
PushAndConfirm(() => new Screens.SelectV2.SoloSongSelect());
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void TestOpenSkinEditor()
|
||||
{
|
||||
AddStep("toggle skin editor", () =>
|
||||
{
|
||||
InputManager.PressKey(Key.ControlLeft);
|
||||
InputManager.PressKey(Key.ShiftLeft);
|
||||
InputManager.Key(Key.S);
|
||||
InputManager.ReleaseKey(Key.ControlLeft);
|
||||
InputManager.ReleaseKey(Key.ShiftLeft);
|
||||
});
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void TestClickLogo()
|
||||
{
|
||||
|
||||
@@ -19,6 +19,7 @@ using osu.Game.Overlays.Mods;
|
||||
using osu.Game.Screens.Footer;
|
||||
using osu.Game.Screens.Menu;
|
||||
using osu.Game.Screens.Select;
|
||||
using osu.Game.Skinning;
|
||||
using osuTK;
|
||||
using osuTK.Graphics;
|
||||
using osuTK.Input;
|
||||
@@ -154,6 +155,10 @@ namespace osu.Game.Screens.SelectV2
|
||||
}
|
||||
},
|
||||
},
|
||||
new SkinnableContainer(new GlobalSkinnableContainerLookup(GlobalSkinnableContainers.SongSelect))
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
},
|
||||
modSelectOverlay,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user