mirror of
https://github.com/spectreconsole/spectre.console.git
synced 2025-10-25 15:19:23 +00:00
Fixes non-interactive progress bars from rendering little info
If any task was not-started or finishes then everything stops rendering. I suspect this worked ok but wasn't noticed until we introduced the indeterminate progress task that starts off not-started which caused everything to bail early in the demos.
This commit is contained in:
committed by
Patrik Svensson
parent
91a0be86a3
commit
69fdae70c0
@@ -33,7 +33,7 @@ namespace Spectre.Console
|
|||||||
{
|
{
|
||||||
if (!task.IsStarted || task.IsFinished)
|
if (!task.IsStarted || task.IsFinished)
|
||||||
{
|
{
|
||||||
return;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
hasStartedTasks = true;
|
hasStartedTasks = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user