Minor code revisions.

This commit is contained in:
J-D-K
2025-09-07 12:31:24 -04:00
parent 700790dba1
commit 1095971895
21 changed files with 139 additions and 98 deletions

View File

@@ -27,6 +27,8 @@ void ProgressState::update()
const double current = task->get_progress();
BaseTask::update_loading_glyph();
BaseTask::pop_on_plus();
if (!m_task->is_running()) { ProgressState::deactivate_state(); }
m_progressBarWidth = std::round(SIZE_BAR_WIDTH * current);