mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 14:12:54 +08:00
Remove unnecessary method
This commit is contained in:
parent
72ebcb157f
commit
724fe3d378
@ -75,19 +75,6 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer.Spectate
|
||||
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>
|
||||
/// The content added to this grid.
|
||||
/// </summary>
|
||||
|
Loading…
Reference in New Issue
Block a user