Remove scrollability from sub-areas in beatmap overaly

The areas that are scrollable inside the beatmap overlay make for a very frustrating experience. Let's disable them for now.
This commit is contained in:
Dean Herbert 2017-11-15 19:02:56 +09:00
parent 530b1e8d91
commit fda810eb8f
1 changed files with 2 additions and 4 deletions

View File

@ -74,20 +74,18 @@ public Info()
{
RelativeSizeAxes = Axes.Both,
Padding = new MarginPadding { Right = metadata_width + BeatmapSetOverlay.RIGHT_WIDTH + spacing * 2 },
Child = new ScrollContainer
Child = new Container
{
RelativeSizeAxes = Axes.Both,
ScrollbarVisible = false,
Child = description = new MetadataSection("Description"),
},
},
new ScrollContainer
new Container
{
Anchor = Anchor.TopRight,
Origin = Anchor.TopRight,
RelativeSizeAxes = Axes.Y,
Width = metadata_width,
ScrollbarVisible = false,
Padding = new MarginPadding { Horizontal = 10 },
Margin = new MarginPadding { Right = BeatmapSetOverlay.RIGHT_WIDTH + spacing },
Child = new FillFlowContainer