1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-14 14:27:25 +08:00

Add commentary on presence of IsPresent override

This commit is contained in:
Bartłomiej Dach 2024-05-31 08:47:19 +02:00
parent c6a7082034
commit 69990c35cb
No known key found for this signature in database

View File

@ -173,6 +173,9 @@ namespace osu.Game.Screens.Menu
private Sprite flash = null!; private Sprite flash = null!;
/// <remarks>
/// Overridden as a safety for <see cref="openUrlAction"/> functioning correctly.
/// </remarks>
public override bool IsPresent => base.IsPresent || Scheduler.HasPendingTasks; public override bool IsPresent => base.IsPresent || Scheduler.HasPendingTasks;
private ScheduledDelegate? openUrlAction; private ScheduledDelegate? openUrlAction;