This commit is contained in:
2022-05-17 13:42:01 +03:00
parent 80aef8b6e0
commit c719eaf4fd
5 changed files with 37 additions and 3 deletions

View File

@@ -37,7 +37,7 @@ namespace PluginManager.Items
case 3: Console.Write("|"); break;
}
Console.SetCursorPosition(Console.CursorLeft - 1, Console.CursorTop);
await Task.Delay(500);
await Task.Delay(250);
}
}
@@ -47,7 +47,7 @@ namespace PluginManager.Items
public void Stop()
{
if (!isSpinning)
throw new Others.Exceptions.APIException("The spinner was not running", "Stop()");
throw new Others.Exceptions.APIException("Spinner was not spinning", GetType());
isSpinning = false;
}
}