mirror of https://github.com/ppy/osu
Fix `TestSceneSliderApplication` not applying legacy skin transformer
This commit is contained in:
parent
89519086c8
commit
610d61dce9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue