Fix `TestSceneSliderApplication` not applying legacy skin transformer

This commit is contained in:
Salman Ahmed 2022-04-23 03:17:18 +03:00
parent 89519086c8
commit 610d61dce9
1 changed files with 3 additions and 1 deletions

View File

@ -70,7 +70,9 @@ public void TestBallTintChangedOnAccentChange()
var tintingSkin = skinManager.GetSkin(DefaultLegacySkin.CreateInfo());
tintingSkin.Configuration.ConfigDictionary["AllowSliderBallTint"] = "1";
Child = new SkinProvidingContainer(tintingSkin)
var provider = Ruleset.Value.CreateInstance().CreateLegacySkinProvider(tintingSkin, Beatmap.Value.Beatmap);
Child = new SkinProvidingContainer(provider)
{
RelativeSizeAxes = Axes.Both,
Child = dho = new DrawableSlider(prepareObject(new Slider