2
0
mirror of https://github.com/wolfpld/tracy synced 2026-01-19 04:52:09 +00:00

fix: 2x scaling on macos with ImGui 1.92

This commit is contained in:
David Kern
2026-01-15 17:01:40 -08:00
parent ba677b725b
commit 0a438193ba

View File

@@ -164,12 +164,12 @@ static void SetupDPIScale()
dpiFirstSetup = false;
dpiChanged = 2;
LoadFonts( scale );
#ifdef __APPLE__
scale = 1.0f;
scale = tracy::s_config.userScale;
#endif
LoadFonts( scale );
auto& style = ImGui::GetStyle();
style = ImGuiStyle();
ImGui::StyleColorsDark();