mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 19:22:56 +08:00
Use masking instead of scrollable container to prevent tags overflow
This commit is contained in:
parent
98214beb6c
commit
c65747d1b8
@ -9,7 +9,6 @@ using osu.Framework.Graphics;
|
|||||||
using osu.Framework.Graphics.Containers;
|
using osu.Framework.Graphics.Containers;
|
||||||
using osu.Framework.Graphics.Shapes;
|
using osu.Framework.Graphics.Shapes;
|
||||||
using osu.Game.Graphics;
|
using osu.Game.Graphics;
|
||||||
using osu.Game.Graphics.Containers;
|
|
||||||
using osu.Game.Graphics.Sprites;
|
using osu.Game.Graphics.Sprites;
|
||||||
using osu.Game.Online.API.Requests.Responses;
|
using osu.Game.Online.API.Requests.Responses;
|
||||||
|
|
||||||
@ -63,7 +62,7 @@ namespace osu.Game.Overlays.BeatmapSet
|
|||||||
Child = new MetadataSection(MetadataType.Description),
|
Child = new MetadataSection(MetadataType.Description),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
new OsuScrollContainer
|
new Container
|
||||||
{
|
{
|
||||||
Anchor = Anchor.TopRight,
|
Anchor = Anchor.TopRight,
|
||||||
Origin = Anchor.TopRight,
|
Origin = Anchor.TopRight,
|
||||||
@ -71,6 +70,7 @@ namespace osu.Game.Overlays.BeatmapSet
|
|||||||
Width = metadata_width,
|
Width = metadata_width,
|
||||||
Padding = new MarginPadding { Horizontal = 10 },
|
Padding = new MarginPadding { Horizontal = 10 },
|
||||||
Margin = new MarginPadding { Right = BeatmapSetOverlay.RIGHT_WIDTH + spacing },
|
Margin = new MarginPadding { Right = BeatmapSetOverlay.RIGHT_WIDTH + spacing },
|
||||||
|
Masking = true,
|
||||||
Child = new FillFlowContainer
|
Child = new FillFlowContainer
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.X,
|
RelativeSizeAxes = Axes.X,
|
||||||
|
Loading…
Reference in New Issue
Block a user