mirror of
https://github.com/wolfpld/tracy.git
synced 2026-09-29 05:25:49 +00:00
Merge pull request #1279 from DaniPopes/dani/fix-macos-zoom-scale
fix: UI zoom scale not applying on macOS
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user