1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-17 09:04:27 +00:00

Fixed unneded auto-extra frame render

This commit is contained in:
Enrico Turri
2020-02-05 15:27:11 +01:00
parent 3ec4b77dcd
commit a04c72b0c9
+1 -1
View File
@@ -1363,7 +1363,7 @@ void GLCanvas3D::Labels::render(const std::vector<const PrintInstance*>& 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();