Scroll editor setup screen to file selector on display

Previously the file selector would potentially display off-screen,
making for confusing UX.

Closes #10942.
This commit is contained in:
Dean Herbert
2020-11-23 13:49:14 +09:00
parent 417d6d4915
commit 3ed7868801
2 changed files with 12 additions and 3 deletions

View File

@ -4,6 +4,7 @@
using System;
using System.Linq;
using JetBrains.Annotations;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
@ -14,6 +15,7 @@ namespace osu.Game.Graphics.Containers
/// <summary>
/// A container that can scroll to each section inside it.
/// </summary>
[Cached]
public class SectionsContainer<T> : Container<T>
where T : Drawable
{