From a04c72b0c9f0e1fc2c14506761a3463b98c34f39 Mon Sep 17 00:00:00 2001 From: Enrico Turri Date: Wed, 5 Feb 2020 15:27:11 +0100 Subject: [PATCH] Fixed unneded auto-extra frame render --- src/slic3r/GUI/GLCanvas3D.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/GLCanvas3D.cpp b/src/slic3r/GUI/GLCanvas3D.cpp index 449b7fbb8..3b38403fd 100644 --- a/src/slic3r/GUI/GLCanvas3D.cpp +++ b/src/slic3r/GUI/GLCanvas3D.cpp @@ -1363,7 +1363,7 @@ void GLCanvas3D::Labels::render(const std::vector& sorted_ // force re-render while the windows gets to its final size (it takes several frames) float content_w = 1 + ImGui::GetWindowContentRegionWidth(); - if (content_w <= label_len) + if (content_w < label_len) m_canvas.request_extra_frame(); imgui.end();