Follow-up of 32dc4709a4 -> A more general fix

This commit is contained in:
Enrico Turri 2019-08-26 09:06:21 +02:00
parent ed2bad6709
commit 7f589e79f7
4 changed files with 16 additions and 6 deletions

View file

@ -141,6 +141,7 @@ void GLGizmoCut::on_render_input_window(float x, float y, float bottom_limit)
m_imgui->set_next_window_pos(x, y, ImGuiCond_Always);
m_imgui->set_next_window_bg_alpha(0.5f);
m_imgui->begin(_(L("Cut")), ImGuiWindowFlags_NoMove | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoCollapse);
ImGui::PushItemWidth(m_imgui->scaled(5.0f));