mirror of
https://github.com/ppy/osu.git
synced 2025-03-05 13:13:22 +08:00
add comment and cleanup
This commit is contained in:
parent
6c0de0b436
commit
ac170a6957
@ -7,6 +7,7 @@ using osu.Framework.Bindables;
|
|||||||
using osu.Framework.Graphics;
|
using osu.Framework.Graphics;
|
||||||
using osu.Game.Configuration;
|
using osu.Game.Configuration;
|
||||||
using osu.Game.Graphics.Backgrounds;
|
using osu.Game.Graphics.Backgrounds;
|
||||||
|
using osu.Game.Screens.Play;
|
||||||
using osuTK;
|
using osuTK;
|
||||||
|
|
||||||
namespace osu.Game.Graphics.Containers
|
namespace osu.Game.Graphics.Containers
|
||||||
|
@ -19,6 +19,10 @@ namespace osu.Game.Graphics.Containers
|
|||||||
public DimmableStoryboardContainer(Storyboard storyboard)
|
public DimmableStoryboardContainer(Storyboard storyboard)
|
||||||
{
|
{
|
||||||
this.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]
|
[BackgroundDependencyLoader]
|
||||||
|
@ -32,7 +32,7 @@ namespace osu.Game.Screens.Backgrounds
|
|||||||
|
|
||||||
private readonly DimmableBackgroundContainer fadeContainer;
|
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)
|
public BackgroundScreenBeatmap(WorkingBeatmap beatmap = null)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user