1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 21:42:58 +08:00

Remove unnecessary method

This commit is contained in:
smoogipoo 2021-04-16 22:57:34 +09:00
parent 72ebcb157f
commit 724fe3d378

View File

@ -75,19 +75,6 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer.Spectate
cellContainer.Add(cell); cellContainer.Add(cell);
} }
public void Remove(Drawable content)
{
var cell = cellContainer.FirstOrDefault(c => c.Content == content);
if (cell == null)
return;
if (cell.IsMaximised)
toggleMaximisationState(cell);
cellContainer.Remove(cell);
facadeContainer.Remove(facadeContainer[cell.FacadeIndex]);
}
/// <summary> /// <summary>
/// The content added to this grid. /// The content added to this grid.
/// </summary> /// </summary>