Merge pull request #1279 from DaniPopes/dani/fix-macos-zoom-scale

fix: UI zoom scale not applying on macOS
This commit is contained in:
Bartosz Taudul
2026-02-11 22:34:56 +01:00
committed by GitHub

View File

@@ -161,14 +161,14 @@ static void SetupDPIScale()
{
auto scale = dpiScale * tracy::s_config.userScale;
if( !dpiFirstSetup && prevScale == scale ) return;
dpiFirstSetup = false;
dpiChanged = 2;
#ifdef __APPLE__
scale = tracy::s_config.userScale;
#endif
if( !dpiFirstSetup && prevScale == scale ) return;
dpiFirstSetup = false;
dpiChanged = 2;
LoadFonts( scale );
auto& style = ImGui::GetStyle();