Commented Print host upload notification until its tested

This commit is contained in:
David Kocik 2021-03-12 10:19:13 +01:00
parent 62c2095fe8
commit 15765eb99b
2 changed files with 2 additions and 2 deletions

View file

@ -839,7 +839,7 @@ void NotificationManager::PrintHostUploadNotification::render_bar(ImGuiWrapper&
ProgressBarNotification::render_bar(imgui, win_size_x, win_size_y, win_pos_x, win_pos_y);
float uploaded = m_file_size / 100 * m_percentage;
std::stringstream stream;
stream << std::fixed << std::setprecision(3) << (int)(m_percentage * 100) << "% - " << uploaded << " of " << m_file_size << "MB uploaded";
stream << std::fixed << std::setprecision(2) << (int)(m_percentage * 100) << "% - " << uploaded << " of " << m_file_size << "MB uploaded";
text = stream.str();
ImGui::SetCursorPosX(m_left_indentation);
ImGui::SetCursorPosY(win_size_y / 2 + win_size_y / 6 /*- m_line_height / 4 * 3*/);