Add comment explaining reasoning for override

This commit is contained in:
Dean Herbert 2021-08-24 16:54:19 +09:00
parent 9f17c38e36
commit 3f0f820653

View File

@ -18,7 +18,7 @@ namespace osu.Game.Skinning
private readonly BindableList<ISkinnableDrawable> components = new BindableList<ISkinnableDrawable>();
public override bool IsPresent => base.IsPresent || Scheduler.HasPendingTasks;
public override bool IsPresent => base.IsPresent || Scheduler.HasPendingTasks; // ensure that components are loaded even if the target container is hidden (ie. due to user toggle).
public bool ComponentsLoaded { get; private set; }