mirror of
https://github.com/wolfpld/tracy.git
synced 2026-09-01 16:08:30 +00:00
On macOS with Retina displays, dpiScale is 2.0 but gets overridden to userScale alone under __APPLE__. The early-return check compared prevScale against the pre-override value (dpiScale * userScale), which for 50% zoom evaluates to 2.0 * 0.5 = 1.0, matching the previous prevScale of 1.0 and causing an early return before the scale change could take effect. Moving the __APPLE__ override before the early-return check ensures the comparison uses the actual effective scale.