1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-22 10:30:00 +08:00

Add back skinning support

This commit is contained in:
Salman Alshamrani
2025-05-12 10:32:08 +03:00
Unverified
parent ab60920269
commit c3524176a7
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,
});
}