1
0
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:
Dean Herbert
2025-05-12 18:41:02 +09:00
committed by GitHub
Unverified
2 changed files with 18 additions and 0 deletions
@@ -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()
{
+5
View File
@@ -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,
});
}