Fix backgrounds not fading out when replaced by storyboard, add test for this

This commit is contained in:
David Zhao
2019-02-22 11:41:28 +09:00
parent 97db8abd59
commit 94bc552282
2 changed files with 52 additions and 5 deletions

View File

@ -34,6 +34,7 @@ namespace osu.Game.Graphics.Containers
EnableUserDim.ValueChanged += _ => updateBackgroundDim();
DimLevel.ValueChanged += _ => updateBackgroundDim();
ShowStoryboard.ValueChanged += _ => updateBackgroundDim();
StoryboardReplacesBackground.ValueChanged += _ => updateBackgroundDim();
}
private void updateBackgroundDim()