mirror of
https://github.com/ppy/osu.git
synced 2024-12-17 04:32:53 +08:00
Revert to checkbox on right
This commit is contained in:
parent
652a590611
commit
929ea87975
@ -16,7 +16,6 @@ using osu.Game.Graphics.Sprites;
|
|||||||
using osu.Game.Graphics.UserInterface;
|
using osu.Game.Graphics.UserInterface;
|
||||||
using osu.Game.Localisation;
|
using osu.Game.Localisation;
|
||||||
using osu.Game.Overlays;
|
using osu.Game.Overlays;
|
||||||
using osuTK;
|
|
||||||
|
|
||||||
namespace osu.Game.Graphics.UserInterfaceV2
|
namespace osu.Game.Graphics.UserInterfaceV2
|
||||||
{
|
{
|
||||||
@ -74,31 +73,18 @@ namespace osu.Game.Graphics.UserInterfaceV2
|
|||||||
Anchor = Anchor.TopLeft,
|
Anchor = Anchor.TopLeft,
|
||||||
Origin = Anchor.TopLeft,
|
Origin = Anchor.TopLeft,
|
||||||
},
|
},
|
||||||
new FillFlowContainer
|
text = new OsuSpriteText
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.X,
|
RelativeSizeAxes = Axes.X,
|
||||||
AutoSizeAxes = Axes.Y,
|
|
||||||
Anchor = Anchor.BottomLeft,
|
Anchor = Anchor.BottomLeft,
|
||||||
Origin = Anchor.BottomLeft,
|
Origin = Anchor.BottomLeft,
|
||||||
Direction = FillDirection.Horizontal,
|
},
|
||||||
Spacing = new Vector2(7),
|
checkbox = new Nub
|
||||||
Children = new Drawable[]
|
{
|
||||||
{
|
Anchor = Anchor.CentreRight,
|
||||||
checkbox = new Nub
|
Origin = Anchor.CentreRight,
|
||||||
{
|
Current = Current,
|
||||||
Anchor = Anchor.CentreLeft,
|
},
|
||||||
Origin = Anchor.CentreLeft,
|
|
||||||
Current = Current,
|
|
||||||
Margin = new MarginPadding { Top = 2, },
|
|
||||||
},
|
|
||||||
text = new OsuSpriteText
|
|
||||||
{
|
|
||||||
RelativeSizeAxes = Axes.X,
|
|
||||||
Anchor = Anchor.CentreLeft,
|
|
||||||
Origin = Anchor.CentreLeft,
|
|
||||||
},
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user