mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 01:52:55 +08:00
Update usage of the DismissableFlag
This commit is contained in:
parent
0142fcd07a
commit
99fc13b4d8
@ -14,7 +14,7 @@ namespace osu.Game.Tests.Visual.Online
|
||||
{
|
||||
public override IReadOnlyList<Type> RequiredTypes => new[]
|
||||
{
|
||||
typeof(HeaderFlag),
|
||||
typeof(DismissableFlag),
|
||||
typeof(HeaderTitle),
|
||||
};
|
||||
|
||||
|
@ -23,7 +23,7 @@ namespace osu.Game.Overlays.Rankings
|
||||
|
||||
private readonly SpriteText scopeText;
|
||||
private readonly Container flagPlaceholder;
|
||||
private readonly HeaderFlag flag;
|
||||
private readonly DismissableFlag flag;
|
||||
|
||||
public HeaderTitle()
|
||||
{
|
||||
@ -41,7 +41,7 @@ namespace osu.Game.Overlays.Rankings
|
||||
Origin = Anchor.BottomLeft,
|
||||
AutoSizeAxes = Axes.Both,
|
||||
Margin = new MarginPadding { Bottom = flag_margin },
|
||||
Child = flag = new HeaderFlag
|
||||
Child = flag = new DismissableFlag
|
||||
{
|
||||
Size = new Vector2(30, 20),
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user