Make beatmap importing async.

This commit is contained in:
Dean Herbert
2017-02-24 18:10:37 +09:00
parent 65a24dfe5d
commit 5ff4028c29
3 changed files with 8 additions and 5 deletions

View File

@ -56,7 +56,7 @@ namespace osu.Desktop
// this method will only be executed if e.Effect in dragEnter gets set to something other that None.
var dropData = e.Data.GetData(DataFormats.FileDrop) as object[];
var filePaths = dropData.Select(f => f.ToString()).ToArray();
ImportBeatmaps(filePaths);
ImportBeatmapsAsync(filePaths);
}
private void dragEnter(DragEventArgs e)