Don't expose DimContainer

This commit is contained in:
Dean Herbert
2019-07-12 11:38:15 +09:00
parent c9599b65eb
commit 0d9f978857
4 changed files with 21 additions and 25 deletions

View File

@ -405,7 +405,7 @@ namespace osu.Game.Tests.Visual.Background
private class TestDimmableStoryboardContainer : DimmableStoryboardContainer
{
public float CurrentAlpha => DimContainer.Alpha;
public float CurrentAlpha => Content.Alpha;
public TestDimmableStoryboardContainer()
: base(new Storyboard())
@ -415,8 +415,8 @@ namespace osu.Game.Tests.Visual.Background
private class TestDimmableBackgroundContainer : DimmableBackgroundContainer
{
public Color4 CurrentColour => DimContainer.Colour;
public float CurrentAlpha => DimContainer.Alpha;
public Color4 CurrentColour => Content.Colour;
public float CurrentAlpha => Content.Alpha;
}
}
}