Skip to content

Commit

Permalink
Add commentary on presence of IsPresent override
Browse files Browse the repository at this point in the history
  • Loading branch information
bdach committed May 31, 2024
1 parent c6a7082 commit 69990c3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions osu.Game/Screens/Menu/OnlineMenuBanner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,9 @@ public partial class MenuImage : OsuClickableContainer

private Sprite flash = null!;

/// <remarks>
/// Overridden as a safety for <see cref="openUrlAction"/> functioning correctly.
/// </remarks>
public override bool IsPresent => base.IsPresent || Scheduler.HasPendingTasks;

private ScheduledDelegate? openUrlAction;
Expand Down

0 comments on commit 69990c3

Please sign in to comment.