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:
parent
72ebcb157f
commit
724fe3d378
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user