Update ImGuiWrapper.cpp

This commit is contained in:
76Octane
2023-06-14 11:25:56 +08:00
parent 96cbe77e88
commit 3d415772c4

View File

@@ -229,7 +229,7 @@ void ImGuiWrapper::set_scaling(float font_size, float scale_style, float scale_b
return;
}
m_font_size = font_size;
m_font_size = 1.05f * font_size;
ImGui::GetStyle().ScaleAllSizes(scale_style / m_style_scaling);
m_style_scaling = scale_style;