mirror of
https://github.com/osukey/osukey.git
synced 2025-05-16 19:17:18 +09:00
Update framework (and fix non-conforming anchors in FillFlowContainers).
This commit is contained in:
parent
a2317e5a1e
commit
00fdffe9c8
@ -1 +1 @@
|
|||||||
Subproject commit a0be700a68bfb75bb27350cc7fe2e7e758b8645c
|
Subproject commit 288236eaba95dfa15268a55f38c009a97d806f25
|
@ -95,8 +95,6 @@ namespace osu.Game.Beatmaps.Drawables
|
|||||||
new DifficultyIcon(beatmap)
|
new DifficultyIcon(beatmap)
|
||||||
{
|
{
|
||||||
Scale = new Vector2(1.8f),
|
Scale = new Vector2(1.8f),
|
||||||
Anchor = Anchor.CentreLeft,
|
|
||||||
Origin = Anchor.CentreLeft,
|
|
||||||
},
|
},
|
||||||
new FillFlowContainer
|
new FillFlowContainer
|
||||||
{
|
{
|
||||||
|
@ -39,12 +39,20 @@ namespace osu.Game.Overlays.Options.Sections
|
|||||||
RelativeSizeAxes = Axes.X,
|
RelativeSizeAxes = Axes.X,
|
||||||
Text = "Run osu! updater",
|
Text = "Run osu! updater",
|
||||||
},
|
},
|
||||||
new OptionLabel
|
new Container
|
||||||
{
|
{
|
||||||
Text = "TODO: osu version here",
|
RelativeSizeAxes = Axes.X,
|
||||||
Anchor = Anchor.TopCentre,
|
AutoSizeAxes = Axes.Y,
|
||||||
Origin = Anchor.TopCentre,
|
Children = new[]
|
||||||
},
|
{
|
||||||
|
new OptionLabel
|
||||||
|
{
|
||||||
|
Text = "osu!lazer",
|
||||||
|
Anchor = Anchor.TopCentre,
|
||||||
|
Origin = Anchor.TopCentre,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -113,11 +113,12 @@ namespace osu.Game.Screens.Play
|
|||||||
{
|
{
|
||||||
new FillFlowContainer
|
new FillFlowContainer
|
||||||
{
|
{
|
||||||
AutoSizeAxes = Axes.Both,
|
|
||||||
Direction = FillDirection.Vertical,
|
|
||||||
Spacing = new Vector2(0, 20),
|
|
||||||
Origin = Anchor.TopCentre,
|
Origin = Anchor.TopCentre,
|
||||||
Anchor = Anchor.TopCentre,
|
Anchor = Anchor.TopCentre,
|
||||||
|
RelativeSizeAxes = Axes.X,
|
||||||
|
AutoSizeAxes = Axes.Y,
|
||||||
|
Direction = FillDirection.Vertical,
|
||||||
|
Spacing = new Vector2(0, 20),
|
||||||
Children = new Drawable[]
|
Children = new Drawable[]
|
||||||
{
|
{
|
||||||
new OsuSpriteText
|
new OsuSpriteText
|
||||||
@ -144,6 +145,8 @@ namespace osu.Game.Screens.Play
|
|||||||
},
|
},
|
||||||
new FillFlowContainer
|
new FillFlowContainer
|
||||||
{
|
{
|
||||||
|
Origin = Anchor.TopCentre,
|
||||||
|
Anchor = Anchor.TopCentre,
|
||||||
RelativeSizeAxes = Axes.X,
|
RelativeSizeAxes = Axes.X,
|
||||||
AutoSizeAxes = Axes.Y,
|
AutoSizeAxes = Axes.Y,
|
||||||
Masking = true,
|
Masking = true,
|
||||||
@ -188,9 +191,9 @@ namespace osu.Game.Screens.Play
|
|||||||
},
|
},
|
||||||
retryCounterContainer = new FillFlowContainer
|
retryCounterContainer = new FillFlowContainer
|
||||||
{
|
{
|
||||||
AutoSizeAxes = Axes.Both,
|
|
||||||
Origin = Anchor.TopCentre,
|
Origin = Anchor.TopCentre,
|
||||||
Anchor = Anchor.TopCentre
|
Anchor = Anchor.TopCentre,
|
||||||
|
AutoSizeAxes = Axes.Both,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -210,10 +210,9 @@ namespace osu.Game.Screens.Select
|
|||||||
groupsEllipsis = new TextAwesome
|
groupsEllipsis = new TextAwesome
|
||||||
{
|
{
|
||||||
Icon = FontAwesome.fa_ellipsis_h,
|
Icon = FontAwesome.fa_ellipsis_h,
|
||||||
|
Origin = Anchor.TopLeft,
|
||||||
TextSize = 14,
|
TextSize = 14,
|
||||||
Margin = new MarginPadding { Top = 5, Bottom = 5 },
|
Margin = new MarginPadding { Top = 5, Bottom = 5 },
|
||||||
Origin = Anchor.BottomLeft,
|
|
||||||
Anchor = Anchor.BottomLeft,
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -241,10 +240,9 @@ namespace osu.Game.Screens.Select
|
|||||||
sortEllipsis = new TextAwesome
|
sortEllipsis = new TextAwesome
|
||||||
{
|
{
|
||||||
Icon = FontAwesome.fa_ellipsis_h,
|
Icon = FontAwesome.fa_ellipsis_h,
|
||||||
|
Origin = Anchor.TopLeft,
|
||||||
TextSize = 14,
|
TextSize = 14,
|
||||||
Margin = new MarginPadding { Top = 5, Bottom = 5 },
|
Margin = new MarginPadding { Top = 5, Bottom = 5 },
|
||||||
Origin = Anchor.BottomLeft,
|
|
||||||
Anchor = Anchor.BottomLeft,
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user