1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 04:07:25 +08:00

reopen FileSelector in the directory of the previous selection

This commit is contained in:
hbnrmx 2021-04-02 18:01:26 +02:00
parent 438f3e6349
commit 824fb9f398

View File

@ -54,7 +54,7 @@ namespace osu.Game.Screens.Edit.Setup
{
FileSelector fileSelector;
Target.Child = fileSelector = new FileSelector(validFileExtensions: ResourcesSection.AudioExtensions)
Target.Child = fileSelector = new FileSelector(currentFile.Value?.DirectoryName, ResourcesSection.AudioExtensions)
{
RelativeSizeAxes = Axes.X,
Height = 400,