move comment to more relevant location

This commit is contained in:
David Zhao
2019-07-09 16:38:12 +09:00
parent 89cb8a0cac
commit 1b5fadf93f

View File

@ -59,10 +59,6 @@ namespace osu.Game.Graphics.Containers
/// <summary> /// <summary>
/// Creates a new <see cref="UserDimContainer"/>. /// Creates a new <see cref="UserDimContainer"/>.
/// </summary> /// </summary>
/// <remarks>
/// While both backgrounds and storyboards allow user dim levels to be applied, storyboards can be toggled via <see cref="ShowStoryboard"/>
/// and can cause backgrounds to become hidden via <see cref="StoryboardReplacesBackground"/>. Storyboards are also currently unable to be blurred.
/// </remarks>
public UserDimContainer() public UserDimContainer()
{ {
AddInternal(DimContainer = new Container { RelativeSizeAxes = Axes.Both }); AddInternal(DimContainer = new Container { RelativeSizeAxes = Axes.Both });
@ -112,6 +108,10 @@ namespace osu.Game.Graphics.Containers
/// <summary> /// <summary>
/// Apply non-dim related settings to the background, such as hiding and blurring. /// Apply non-dim related settings to the background, such as hiding and blurring.
/// </summary> /// </summary>
/// <remarks>
/// While both backgrounds and storyboards allow user dim levels to be applied, storyboards can be toggled via <see cref="ShowStoryboard"/>
/// and can cause backgrounds to become hidden via <see cref="StoryboardReplacesBackground"/>. Storyboards are also currently unable to be blurred.
/// </remarks>
protected virtual void ApplyFade() protected virtual void ApplyFade()
{ {
// The background needs to be hidden in the case of it being replaced by the storyboard // The background needs to be hidden in the case of it being replaced by the storyboard