mirror of https://github.com/ppy/osu
Fix incorrect xmldoc and adjust colour provider to match `Player`
This commit is contained in:
parent
67c0d7590a
commit
87e814e201
|
@ -529,7 +529,7 @@ internal DrawableRuleset(Ruleset ruleset)
|
|||
public ResumeOverlay ResumeOverlay { get; protected set; }
|
||||
|
||||
/// <summary>
|
||||
/// Whether the <see cref="ResumeOverlay"/> should be used to return the user's cursor position to its previous location after a pause.
|
||||
/// Whether a <see cref="ResumeOverlay"/> should be displayed on resuming after a pause.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Defaults to <c>true</c>.
|
||||
|
|
|
@ -24,8 +24,9 @@ namespace osu.Game.Screens.Play
|
|||
/// </summary>
|
||||
public partial class DelayedResumeOverlay : ResumeOverlay
|
||||
{
|
||||
// todo: this shouldn't define its own colour provider, but nothing in Player screen does, so let's do that for now.
|
||||
private readonly OverlayColourProvider colourProvider = new OverlayColourProvider(OverlayColourScheme.Blue);
|
||||
// todo: this shouldn't define its own colour provider, but nothing in DrawableRuleset guarantees this, so let's do it locally for now.
|
||||
// (of note, Player does cache one but any test which uses a DrawableRuleset without Player will fail without this).
|
||||
private readonly OverlayColourProvider colourProvider = new OverlayColourProvider(OverlayColourScheme.Purple);
|
||||
|
||||
private const float outer_size = 200;
|
||||
private const float inner_size = 150;
|
||||
|
|
Loading…
Reference in New Issue