mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 11:37:28 +08:00
Add step for toggling skins in results screen test scene
This commit is contained in:
parent
5bbaeb6836
commit
6ab8960fdc
@ -62,6 +62,12 @@ namespace osu.Game.Tests.Visual.Ranking
|
|||||||
if (beatmapInfo != null)
|
if (beatmapInfo != null)
|
||||||
Beatmap.Value = beatmaps.GetWorkingBeatmap(beatmapInfo);
|
Beatmap.Value = beatmaps.GetWorkingBeatmap(beatmapInfo);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
AddToggleStep("toggle skin", v =>
|
||||||
|
{
|
||||||
|
if (skins != null)
|
||||||
|
skins.CurrentSkinInfo.Value = v ? skins.DefaultClassicSkin.SkinInfo : skins.CurrentSkinInfo.Default;
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
[SetUp]
|
[SetUp]
|
||||||
|
Loading…
Reference in New Issue
Block a user