mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Update framewörk
This commit is contained in:
@ -19,7 +19,7 @@ namespace osu.Game.Overlays.Toolbar
|
||||
{
|
||||
const float padding = 10;
|
||||
|
||||
private FlowContainer modeButtons;
|
||||
private FillFlowContainer modeButtons;
|
||||
private Drawable modeButtonLine;
|
||||
private ToolbarModeButton activeButton;
|
||||
|
||||
@ -32,11 +32,11 @@ namespace osu.Game.Overlays.Toolbar
|
||||
Children = new Drawable[]
|
||||
{
|
||||
new OpaqueBackground(),
|
||||
modeButtons = new FlowContainer
|
||||
modeButtons = new FillFlowContainer
|
||||
{
|
||||
RelativeSizeAxes = Axes.Y,
|
||||
AutoSizeAxes = Axes.X,
|
||||
FlowStrategy = FlowStrategies.CreateHorizontalFlow(),
|
||||
Direction = FlowDirection.Right,
|
||||
Anchor = Anchor.TopCentre,
|
||||
Origin = Anchor.TopCentre,
|
||||
Padding = new MarginPadding { Left = padding, Right = padding },
|
||||
|
Reference in New Issue
Block a user