mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 02:42:54 +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)
|
if (UseNewFooter && footer != null)
|
||||||
{
|
{
|
||||||
footer.SetOverlayContent(this);
|
footer.SetActiveOverlayContainer(this);
|
||||||
|
|
||||||
if (footer.State.Value == Visibility.Hidden)
|
if (footer.State.Value == Visibility.Hidden)
|
||||||
{
|
{
|
||||||
@ -175,7 +175,7 @@ namespace osu.Game.Overlays.Mods
|
|||||||
|
|
||||||
if (UseNewFooter && footer != null)
|
if (UseNewFooter && footer != null)
|
||||||
{
|
{
|
||||||
footer.ClearOverlayContent();
|
footer.ClearActiveOverlayContainer();
|
||||||
|
|
||||||
if (hideFooterOnPopOut)
|
if (hideFooterOnPopOut)
|
||||||
{
|
{
|
||||||
|
@ -121,7 +121,7 @@ namespace osu.Game.Screens.Footer
|
|||||||
temporarilyHiddenButtons.Clear();
|
temporarilyHiddenButtons.Clear();
|
||||||
overlays.Clear();
|
overlays.Clear();
|
||||||
|
|
||||||
ClearOverlayContent();
|
ClearActiveOverlayContainer();
|
||||||
|
|
||||||
var oldButtons = buttonsFlow.ToArray();
|
var oldButtons = buttonsFlow.ToArray();
|
||||||
|
|
||||||
@ -168,7 +168,7 @@ namespace osu.Game.Screens.Footer
|
|||||||
private Container? contentContainer;
|
private Container? contentContainer;
|
||||||
private readonly List<ScreenFooterButton> temporarilyHiddenButtons = new List<ScreenFooterButton>();
|
private readonly List<ScreenFooterButton> temporarilyHiddenButtons = new List<ScreenFooterButton>();
|
||||||
|
|
||||||
public void SetOverlayContent(ShearedOverlayContainer overlay)
|
public void SetActiveOverlayContainer(ShearedOverlayContainer overlay)
|
||||||
{
|
{
|
||||||
if (contentContainer != null)
|
if (contentContainer != null)
|
||||||
{
|
{
|
||||||
@ -213,7 +213,7 @@ namespace osu.Game.Screens.Footer
|
|||||||
content.Show();
|
content.Show();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void ClearOverlayContent()
|
public void ClearActiveOverlayContainer()
|
||||||
{
|
{
|
||||||
if (contentContainer == null)
|
if (contentContainer == null)
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user