Make blurtarget private, improve documentation

This commit is contained in:
David Zhao
2019-03-19 20:15:28 +09:00
parent dc26e90a8d
commit a8e2072286
4 changed files with 26 additions and 21 deletions

View File

@ -53,8 +53,7 @@ namespace osu.Game.Screens.Backgrounds
b.Depth = newDepth;
fadeContainer.Add(Background = b);
fadeContainer.UpdateVisuals();
Background.BlurSigma = fadeContainer.BlurTarget;
fadeContainer.UpdateVisuals(true);
StoryboardReplacesBackground.BindTo(fadeContainer.StoryboardReplacesBackground);
}));
});
@ -65,7 +64,7 @@ namespace osu.Game.Screens.Backgrounds
{
Beatmap = beatmap;
InternalChild = fadeContainer = CreateFadeContainer();
fadeContainer.EnableVisualSettings.BindTo(EnableVisualSettings);
fadeContainer.EnableUserDim.BindTo(EnableVisualSettings);
fadeContainer.AddedBlur.BindTo(AddedBlur);
}