Fixed the positioning of the painting gizmos.

This commit is contained in:
Lukáš Hejl 2021-10-07 13:06:58 +02:00
parent 542ba1bb9a
commit ebdc69bdc9
3 changed files with 3 additions and 3 deletions

View file

@ -234,7 +234,7 @@ void GLGizmoMmuSegmentation::on_render_input_window(float x, float y, float bott
if (!m_c->selection_info()->model_object())
return;
const float approx_height = m_imgui->scaled(25.0f);
const float approx_height = m_imgui->scaled(22.0f);
y = std::min(y, bottom_limit - approx_height);
m_imgui->set_next_window_pos(x, y, ImGuiCond_Always);