mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 14:46:38 +09:00
Add test case for background preview, fix unit tests
This commit is contained in:
@ -346,6 +346,10 @@ namespace osu.Game.Screens.Play
|
||||
.Delay(250)
|
||||
.FadeIn(250);
|
||||
|
||||
// We need to update background elements when the user dim gets updated
|
||||
// The storyboard needs to know whether or not to completely fade at 100% dim
|
||||
DimLevel.ValueChanged += _ => UpdateBackgroundElements();
|
||||
ShowStoryboard.ValueChanged += _ => UpdateBackgroundElements();
|
||||
Background.EnableUserDim.Value = true;
|
||||
|
||||
Task.Run(() =>
|
||||
|
Reference in New Issue
Block a user