SPE-1223 - Removed from legend the option to show shells in GCode Viewer
This commit is contained in:
parent
56466abe99
commit
6c31b8d7a8
1 changed files with 16 additions and 14 deletions
|
@ -4483,6 +4483,7 @@ void GCodeViewer::render_legend(float& legend_height)
|
|||
#endif // ENABLE_LEGEND_TOOLBAR_ICONS
|
||||
ImGui::SameLine();
|
||||
#endif // ENABLE_SHOW_TOOLPATHS_COG
|
||||
if (!wxGetApp().is_gcode_viewer()) {
|
||||
#if ENABLE_LEGEND_TOOLBAR_ICONS
|
||||
toggle_button(Preview::OptionType::Shells, _u8L("Shells"), [image_icon](ImGuiWindow& window, const ImVec2& pos, float size) {
|
||||
image_icon(window, pos, size, ImGui::LegendShells);
|
||||
|
@ -4500,6 +4501,7 @@ void GCodeViewer::render_legend(float& legend_height)
|
|||
#endif // ENABLE_LEGEND_TOOLBAR_ICONS
|
||||
});
|
||||
ImGui::SameLine();
|
||||
}
|
||||
#if ENABLE_LEGEND_TOOLBAR_ICONS
|
||||
toggle_button(Preview::OptionType::ToolMarker, _u8L("Tool marker"), [image_icon](ImGuiWindow& window, const ImVec2& pos, float size) {
|
||||
image_icon(window, pos, size, ImGui::LegendToolMarker);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue