FIX: .gcode file shall disable preview menu (STUDIO-2320)

https://jira.bambooolab.com/browse/STUDIO-2320

Change-Id: I54cd49a49a8b08916872eae75534ef4c1d915cb5
This commit is contained in:
liz.li 2023-03-06 18:39:23 +08:00 committed by Lane.Wei
parent ede8a2dc30
commit 1beee1eebf
3 changed files with 14 additions and 1 deletions

View file

@ -1125,6 +1125,9 @@ void IMSlider::render_go_to_layer_dialog()
void IMSlider::render_menu()
{
if (!m_menu_enable)
return;
ImGuiWrapper::push_menu_style(m_scale);
int extruder_num = m_extruder_colors.size();