Horizontal slider in preview to show always (and only) gcode lines indices
This commit is contained in:
parent
226353452e
commit
86da45eb66
5 changed files with 3 additions and 23 deletions
src/slic3r/GUI
|
@ -739,11 +739,8 @@ wxString Control::get_label(int tick, LabelType label_type/* = ltHeightWithLayer
|
|||
return size_t(it - m_layers_values.begin());
|
||||
};
|
||||
|
||||
if (m_draw_mode == dmSequentialGCodeView) {
|
||||
return (Slic3r::GUI::get_app_config()->get("seq_top_gcode_indices") == "1") ?
|
||||
wxString::Format("%lu", static_cast<unsigned long>(m_alternate_values[value])) :
|
||||
wxString::Format("%lu", static_cast<unsigned long>(m_values[value]));
|
||||
}
|
||||
if (m_draw_mode == dmSequentialGCodeView)
|
||||
return wxString::Format("%lu", static_cast<unsigned long>(m_alternate_values[value]));
|
||||
else {
|
||||
if (label_type == ltEstimatedTime) {
|
||||
if (m_is_wipe_tower) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue