mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-12 12:09:02 +08:00
Reverder order of rendering of color print time estimates
This commit is contained in:
parent
29dfa786ff
commit
52dc8547ac
@ -1132,7 +1132,7 @@ void Sidebar::show_sliced_info_sizer(const bool show)
|
|||||||
if (ps.estimated_normal_print_time != "N/A") {
|
if (ps.estimated_normal_print_time != "N/A") {
|
||||||
new_label += wxString::Format("\n - %s", _(L("normal mode")));
|
new_label += wxString::Format("\n - %s", _(L("normal mode")));
|
||||||
info_text += wxString::Format("\n%s", ps.estimated_normal_print_time);
|
info_text += wxString::Format("\n%s", ps.estimated_normal_print_time);
|
||||||
for (unsigned int i = 0; i < (unsigned int)ps.estimated_normal_color_print_times.size(); ++i)
|
for (int i = (int)ps.estimated_normal_color_print_times.size() - 1; i >= 0; --i)
|
||||||
{
|
{
|
||||||
new_label += wxString::Format("\n - %s%d", _(L("Color ")), i + 1);
|
new_label += wxString::Format("\n - %s%d", _(L("Color ")), i + 1);
|
||||||
info_text += wxString::Format("\n%s", ps.estimated_normal_color_print_times[i]);
|
info_text += wxString::Format("\n%s", ps.estimated_normal_color_print_times[i]);
|
||||||
@ -1141,7 +1141,7 @@ void Sidebar::show_sliced_info_sizer(const bool show)
|
|||||||
if (ps.estimated_silent_print_time != "N/A") {
|
if (ps.estimated_silent_print_time != "N/A") {
|
||||||
new_label += wxString::Format("\n - %s", _(L("stealth mode")));
|
new_label += wxString::Format("\n - %s", _(L("stealth mode")));
|
||||||
info_text += wxString::Format("\n%s", ps.estimated_silent_print_time);
|
info_text += wxString::Format("\n%s", ps.estimated_silent_print_time);
|
||||||
for (unsigned int i = 0; i < (unsigned int)ps.estimated_normal_color_print_times.size(); ++i)
|
for (int i = (int)ps.estimated_normal_color_print_times.size() - 1; i >= 0; --i)
|
||||||
{
|
{
|
||||||
new_label += wxString::Format("\n - %s%d", _(L("Color ")), i + 1);
|
new_label += wxString::Format("\n - %s%d", _(L("Color ")), i + 1);
|
||||||
info_text += wxString::Format("\n%s", ps.estimated_normal_color_print_times[i]);
|
info_text += wxString::Format("\n%s", ps.estimated_normal_color_print_times[i]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user