mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 01:02:55 +08:00
Hide customise button + multiplier label
This commit is contained in:
parent
7a14e14e67
commit
9c3c0895cf
@ -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),
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user