1
0
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:
Dean Herbert 2024-07-10 13:58:50 +09:00
parent 4e1240c349
commit f281019358
No known key found for this signature in database
2 changed files with 5 additions and 5 deletions

View File

@ -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)
{

View File

@ -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;