fix test failures, improve button logic

This commit is contained in:
mk56-spn
2022-12-19 16:35:20 +01:00
parent 878e2f24c4
commit 626f4b0dfd
4 changed files with 28 additions and 36 deletions

View File

@ -20,6 +20,8 @@ namespace osu.Game.Screens.Select.FooterV2
private readonly List<OverlayContainer> overlays = new List<OverlayContainer>();
/// <param name="button">The button to be added.</param>
/// <param name="overlay">The <see cref="OverlayContainer"/> to be toggled by this button.</param>
public void AddButton(FooterButtonV2 button, OverlayContainer? overlay = null)
{
if (overlay != null)