Fixed the positioning of the supports painting gizmo.

This commit is contained in:
Lukáš Hejl 2021-10-18 11:33:47 +02:00
parent 552c42d466
commit 912f73d79c

View file

@ -93,7 +93,7 @@ void GLGizmoFdmSupports::on_render_input_window(float x, float y, float bottom_l
if (! m_c->selection_info()->model_object())
return;
const float approx_height = m_imgui->scaled(22.f);
const float approx_height = m_imgui->scaled(23.f);
y = std::min(y, bottom_limit - approx_height);
m_imgui->set_next_window_pos(x, y, ImGuiCond_Always);