1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 18:27:26 +08:00

Hide customise button + multiplier label

This commit is contained in:
smoogipoo 2021-02-02 13:03:46 +09:00
parent 7a14e14e67
commit 9c3c0895cf
2 changed files with 8 additions and 1 deletions

View File

@ -37,6 +37,7 @@ namespace osu.Game.Overlays.Mods
protected readonly TriangleButton CustomiseButton;
protected readonly TriangleButton CloseButton;
protected readonly Drawable MultiplierSection;
protected readonly OsuSpriteText MultiplierLabel;
/// <summary>
@ -316,7 +317,7 @@ namespace osu.Game.Overlays.Mods
Origin = Anchor.CentreLeft,
Anchor = Anchor.CentreLeft,
},
new FillFlowContainer
MultiplierSection = new FillFlowContainer
{
AutoSizeAxes = Axes.Both,
Spacing = new Vector2(footer_button_spacing / 2, 0),

View File

@ -20,6 +20,12 @@ namespace osu.Game.Screens.OnlinePlay.Match
protected override bool Stacked => false;
public FreeModSelectOverlay()
{
CustomiseButton.Alpha = 0;
MultiplierSection.Alpha = 0;
}
protected override ModSection CreateModSection(ModType type) => new FreeModSection(type);
private class FreeModSection : ModSection