fix font_size bug

This commit is contained in:
QIDI TECH
2023-06-15 10:20:55 +08:00
parent ce30eb428f
commit 7ec159a58d
2 changed files with 2 additions and 2 deletions

View File

@@ -5634,7 +5634,7 @@ void GLCanvas3D::_resize(unsigned int w, unsigned int h)
auto *imgui = wxGetApp().imgui();
imgui->set_display_size(static_cast<float>(w), static_cast<float>(h));
const float font_size = 1.5f * wxGetApp().em_unit();
const float font_size = 1.7f * wxGetApp().em_unit();
#if ENABLE_RETINA_GL
imgui->set_scaling(font_size, 1.0f, m_retina_helper->get_scale_factor());
#else