diff --git a/Circle.Game/Overlays/ImportOverlay.cs b/Circle.Game/Overlays/ImportOverlay.cs index 37c1879..6a03104 100644 --- a/Circle.Game/Overlays/ImportOverlay.cs +++ b/Circle.Game/Overlays/ImportOverlay.cs @@ -116,10 +116,19 @@ public ImportOverlay(BufferedContainer gameScreen) { new BoxButton { - Text = "Cancel", + Text = "Exit", Action = Hide }, new BoxButton + { + Text = "Import all", + Action = () => + { + foreach (var circlez in fileSelector.CurrentPath.Value?.GetFiles(@"*.circlez")!) + startImport(circlez.FullName); + } + }, + new BoxButton { Text = "Import", Action = () => startImport(fileSelector.CurrentFile.Value?.FullName)