mirror of https://github.com/ppy/osu
add comment and cleanup
This commit is contained in:
parent
6c0de0b436
commit
ac170a6957
|
@ -7,6 +7,7 @@
|
|||
using osu.Framework.Graphics;
|
||||
using osu.Game.Configuration;
|
||||
using osu.Game.Graphics.Backgrounds;
|
||||
using osu.Game.Screens.Play;
|
||||
using osuTK;
|
||||
|
||||
namespace osu.Game.Graphics.Containers
|
||||
|
|
|
@ -19,6 +19,10 @@ public class DimmableStoryboardContainer : UserDimContainer
|
|||
public DimmableStoryboardContainer(Storyboard storyboard)
|
||||
{
|
||||
this.storyboard = storyboard;
|
||||
|
||||
// Storyboards current do not get used in scenarios without user dim, so default to enabled here.
|
||||
EnableUserDim.Default = true;
|
||||
EnableUserDim.Value = true;
|
||||
}
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
|
|
|
@ -32,7 +32,7 @@ public class BackgroundScreenBeatmap : BackgroundScreen
|
|||
|
||||
private readonly DimmableBackgroundContainer fadeContainer;
|
||||
|
||||
protected virtual DimmableBackgroundContainer CreateFadeContainer() => new DimmableBackgroundContainer() { RelativeSizeAxes = Axes.Both };
|
||||
protected virtual DimmableBackgroundContainer CreateFadeContainer() => new DimmableBackgroundContainer { RelativeSizeAxes = Axes.Both };
|
||||
|
||||
public BackgroundScreenBeatmap(WorkingBeatmap beatmap = null)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue