mirror of
https://github.com/ppy/osu.git
synced 2024-09-22 09:27:34 +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 CustomiseButton;
|
||||||
protected readonly TriangleButton CloseButton;
|
protected readonly TriangleButton CloseButton;
|
||||||
|
|
||||||
|
protected readonly Drawable MultiplierSection;
|
||||||
protected readonly OsuSpriteText MultiplierLabel;
|
protected readonly OsuSpriteText MultiplierLabel;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -316,7 +317,7 @@ namespace osu.Game.Overlays.Mods
|
|||||||
Origin = Anchor.CentreLeft,
|
Origin = Anchor.CentreLeft,
|
||||||
Anchor = Anchor.CentreLeft,
|
Anchor = Anchor.CentreLeft,
|
||||||
},
|
},
|
||||||
new FillFlowContainer
|
MultiplierSection = new FillFlowContainer
|
||||||
{
|
{
|
||||||
AutoSizeAxes = Axes.Both,
|
AutoSizeAxes = Axes.Both,
|
||||||
Spacing = new Vector2(footer_button_spacing / 2, 0),
|
Spacing = new Vector2(footer_button_spacing / 2, 0),
|
||||||
|
@ -20,6 +20,12 @@ namespace osu.Game.Screens.OnlinePlay.Match
|
|||||||
|
|
||||||
protected override bool Stacked => false;
|
protected override bool Stacked => false;
|
||||||
|
|
||||||
|
public FreeModSelectOverlay()
|
||||||
|
{
|
||||||
|
CustomiseButton.Alpha = 0;
|
||||||
|
MultiplierSection.Alpha = 0;
|
||||||
|
}
|
||||||
|
|
||||||
protected override ModSection CreateModSection(ModType type) => new FreeModSection(type);
|
protected override ModSection CreateModSection(ModType type) => new FreeModSection(type);
|
||||||
|
|
||||||
private class FreeModSection : ModSection
|
private class FreeModSection : ModSection
|
||||||
|
Loading…
Reference in New Issue
Block a user