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

Merge pull request #1259 from davidkern/macos-scaling

fix: 2x scaling on macos with ImGui 1.92
This commit is contained in:
Bartosz Taudul
2026-01-16 02:42:45 +01:00
committed by GitHub

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();