aboutsummaryrefslogtreecommitdiff
path: root/src/Interface/ProgressBar.cs
diff options
context:
space:
mode:
authorSergey Chebotar <s.chebotar@gmail.com>2022-04-03 12:24:22 +0300
committerSergey Chebotar <s.chebotar@gmail.com>2022-04-03 12:24:22 +0300
commitf0dc286f9020146a95471506385a4d99d7200595 (patch)
treef889d203da37460e2d919a295bb595a6d6a5cb62 /src/Interface/ProgressBar.cs
parent059e38547091b2801dd9ef8be0cd684eb9475e09 (diff)
100% message in progress bar status
Diffstat (limited to 'src/Interface/ProgressBar.cs')
-rw-r--r--src/Interface/ProgressBar.cs6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/Interface/ProgressBar.cs b/src/Interface/ProgressBar.cs
index 37f8559..f0f2985 100644
--- a/src/Interface/ProgressBar.cs
+++ b/src/Interface/ProgressBar.cs
@@ -16,11 +16,7 @@
public override void Update()
{
double percent = (++CurrentProgress / TaskWeight) * 100;
-
- if (percent < 100)
- {
- Excel.StatusBar = $"{Message} Выполнено {percent:#.#} %";
- }
+ Excel.StatusBar = $"{Message} Выполнено {percent:#.#} %";
}
}
}