mirror of
https://github.com/ppy/osu.git
synced 2025-03-03 17:53:22 +08:00
Inline single-frame layout issue comment instead
This commit is contained in:
parent
2174510544
commit
11bd0c9a61
@ -50,6 +50,8 @@ namespace osu.Game.Screens.SelectV2.Wedge
|
|||||||
Text = " mapped by ",
|
Text = " mapped by ",
|
||||||
Font = OsuFont.GetFont(size: 14),
|
Font = OsuFont.GetFont(size: 14),
|
||||||
},
|
},
|
||||||
|
// This is not a `LinkFlowContainer` as there are single-frame layout issues when Update()
|
||||||
|
// is being used for layout, see https://github.com/ppy/osu-framework/issues/3369.
|
||||||
MapperLink = new MapperLinkContainer
|
MapperLink = new MapperLinkContainer
|
||||||
{
|
{
|
||||||
Anchor = Anchor.BottomLeft,
|
Anchor = Anchor.BottomLeft,
|
||||||
@ -73,10 +75,6 @@ namespace osu.Game.Screens.SelectV2.Wedge
|
|||||||
- MapperName.DrawWidth, 0);
|
- MapperName.DrawWidth, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// This class is a workaround for the single-frame layout issues with `{Link|Text|Fill}FlowContainer`s.
|
|
||||||
/// See https://github.com/ppy/osu-framework/issues/3369.
|
|
||||||
/// </summary>
|
|
||||||
private partial class MapperLinkContainer : OsuHoverContainer
|
private partial class MapperLinkContainer : OsuHoverContainer
|
||||||
{
|
{
|
||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
|
Loading…
Reference in New Issue
Block a user