diff --git a/osu.Game/Graphics/UserInterface/LoadingLayer.cs b/osu.Game/Graphics/UserInterface/LoadingLayer.cs index 23906e76b9..f1d347138f 100644 --- a/osu.Game/Graphics/UserInterface/LoadingLayer.cs +++ b/osu.Game/Graphics/UserInterface/LoadingLayer.cs @@ -11,7 +11,7 @@ using osuTK.Graphics; namespace osu.Game.Graphics.UserInterface { /// - /// An overlay that will show a loading overlay and completely block input to an area. + /// A layer that will show a loading spinner and completely block input to an area. /// Also optionally dims target elements. /// Useful for disabling all elements in a form and showing we are waiting on a response, for instance. /// @@ -19,6 +19,11 @@ namespace osu.Game.Graphics.UserInterface { private readonly Drawable dimTarget; + /// + /// Constuct a new loading spinner. + /// + /// An optional target to dim when displayed. + /// Whether the spinner should have a surrounding black box for visibility. public LoadingLayer(Drawable dimTarget = null, bool withBox = true) : base(withBox) { diff --git a/osu.Game/Graphics/UserInterface/LoadingSpinner.cs b/osu.Game/Graphics/UserInterface/LoadingSpinner.cs index 4f42d1d8c8..b5a235f9d8 100644 --- a/osu.Game/Graphics/UserInterface/LoadingSpinner.cs +++ b/osu.Game/Graphics/UserInterface/LoadingSpinner.cs @@ -26,7 +26,7 @@ namespace osu.Game.Graphics.UserInterface /// /// Constuct a new loading spinner. /// - /// + /// Whether the spinner should have a surrounding black box for visibility. public LoadingSpinner(bool withBox = false) { Size = new Vector2(60);