mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 12:33:01 +08:00
Rename method to match provided argument
This commit is contained in:
parent
4e1240c349
commit
f281019358
@ -152,7 +152,7 @@ namespace osu.Game.Overlays.Mods
|
||||
|
||||
if (UseNewFooter && footer != null)
|
||||
{
|
||||
footer.SetOverlayContent(this);
|
||||
footer.SetActiveOverlayContainer(this);
|
||||
|
||||
if (footer.State.Value == Visibility.Hidden)
|
||||
{
|
||||
@ -175,7 +175,7 @@ namespace osu.Game.Overlays.Mods
|
||||
|
||||
if (UseNewFooter && footer != null)
|
||||
{
|
||||
footer.ClearOverlayContent();
|
||||
footer.ClearActiveOverlayContainer();
|
||||
|
||||
if (hideFooterOnPopOut)
|
||||
{
|
||||
|
@ -121,7 +121,7 @@ namespace osu.Game.Screens.Footer
|
||||
temporarilyHiddenButtons.Clear();
|
||||
overlays.Clear();
|
||||
|
||||
ClearOverlayContent();
|
||||
ClearActiveOverlayContainer();
|
||||
|
||||
var oldButtons = buttonsFlow.ToArray();
|
||||
|
||||
@ -168,7 +168,7 @@ namespace osu.Game.Screens.Footer
|
||||
private Container? contentContainer;
|
||||
private readonly List<ScreenFooterButton> temporarilyHiddenButtons = new List<ScreenFooterButton>();
|
||||
|
||||
public void SetOverlayContent(ShearedOverlayContainer overlay)
|
||||
public void SetActiveOverlayContainer(ShearedOverlayContainer overlay)
|
||||
{
|
||||
if (contentContainer != null)
|
||||
{
|
||||
@ -213,7 +213,7 @@ namespace osu.Game.Screens.Footer
|
||||
content.Show();
|
||||
}
|
||||
|
||||
public void ClearOverlayContent()
|
||||
public void ClearActiveOverlayContainer()
|
||||
{
|
||||
if (contentContainer == null)
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user